wiki:windows:auto_hotkey:auto_hoykey
This is an old revision of the document!
My AutoHotKey Scripts
Here are some of my AutoHotKey scripts I use. I recently overhauled them for version 2 and have not rebuilt some of my less used and complicated oned yet. But here are my essential ones.
Matt's AutoHotKey v2 Script
#Requires AutoHotkey v2.0
; Insert 40 Underscores CTRL + -
; I use this to insert 'line-bar' or sorts in any notes or documentation quickly and reliably
^-::
{
Send "_______________________________________"
return
}
;Always on top CTRL + Space
;There are other ways to do this with PowerToys and such, but I've been using this since way before those options were available.
^space::
{
WinSetAlwaysOnTop -1, "A"
}
; Press D D D to insert date as YYYYMMDD
; The ability to quickly assign an inverse date to documents, logs, directories is essential for my sanity
:?*:ddd::
{
; FormatTime, OutputVar, Time, Format
myDate := FormatTime(, "yyyyMMdd")
SendInput(myDate)
}
; Pres F F F to insert Fairfield.
; I type my city name so many times in a day that I had to crate this shortcut
:?*:fff::
{
Send "Fairfield"
return
}
; Win+1or2 cycles virtual desktops
; This makes Windows Virtual Desktops actually make sense again. Requiring 2 hands to navigate them is stupid.
#1:: Send "{LWin down}{LCtrl down}{Left down}{LWin up}{LCtrl up}{Left up}"
#2:: Send "{LWin down}{LCtrl down}{Right down}{LWin up}{LCtrl up}{Right up}"
wiki/windows/auto_hotkey/auto_hoykey.1774543160.txt.gz · Last modified: by matt