Skip to content

Instantly share code, notes, and snippets.

View whitenoisedev's full-sized avatar

WhiteNoiseDev whitenoisedev

View GitHub Profile
/*
Map a hotkey (ctrl+win+i) to a dialog for sending stuff quickly to your dynalist inbox
write/paste -> Ctrl+Enter to submit
Two modes of operation:
One Bullet: All text will be sent to one bullet in the inbox (dafault)
Multi Bullet: Every row will get its own bullet
*/
; Get your secret API token here: https://dynalist.io/developer
global DynalistToken := "YOUR TOKEN HERE"
; Text expansions to aid date input in dynalist
; !tod = today, !tom=tomorrow !sat=next sunday
; !i2d = in 2 days, !nw = next sunday, !i2w = sunday of the second week from today
; NOTE: Some shortcuts require date.exe from posix utils. If you have git for windows installed in the default location, the script will work.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.