Intro

AutoHotKey

.

AutoHotkey - a scripting language for desktop automation

Examples

https://rosettacode.org/wiki/Category:AutoHotkey

Scripts

; AHK v2 script to insert current time as [1:13 AM] with Alt + Shift + T
<+!t:: {
    time := FormatTime(A_Now, "h:mm tt")
    Send("[" . time . "] ")
}
  • Double-click the script to run it (green H icon will appear in system tray when it’s active)

  • In onenote, press Alt + Shift + T

[1:23 AM]