User Tools

Site Tools


wiki:windows:auto_hotkey:auto_hoykey

My AutoHotKey Scripts

Essential Scripts

I just recently finally overhauled my AHK scripts for v2. I've only done my essentials for daily use. There are a lot that I no longer use or have Python scripts to do a more thorough job with.

#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.txt · Last modified: by matt