User Tools

Site Tools


wiki:windows:auto_hotkey:auto_hoykey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:windows:auto_hotkey:auto_hoykey [2016/05/13 12:56] – created mattwiki:windows:auto_hotkey:auto_hoykey [2026/03/26 12:41] (current) matt
Line 1: Line 1:
-====== Auto Hot Key ====== +====== My AutoHotKey Scripts ======
-===== My Scripts ===== +
-==== Window Always on Top ==== +
-<code> +
-^SPACE:: +
-Winset, Alwaysontop, , A +
-return +
-</code>+
  
-==== Insert Date ==== +===== Essential Scripts ===== 
-<code> +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.
-:R*?:ddd:: +
-FormatTime, CurrentDateTime,, yyyyMMdd +
-SendInput %CurrentDateTime% +
-return +
-</code>+
  
-==== Create Dated Directory ==== 
 <code> <code>
-^!d:: +#Requires AutoHotkey v2.0
-Send !d +
-Send ^c +
-Destin = %Clipboard% +
-FormatTime, DatedDir, , yyyyMMdd +
-FileCreateDir, %Destin%\%DatedDir% +
-</code>+
  
-==== Create Dated Directory with Prefix ==== +; Insert 40 Underscores CTRL + - 
-<code> +; I use this to insert 'line-bar' or sorts in any notes or documentation quickly and reliably 
-^!c:: +^-:: 
-Send !d +{ 
-Send ^c +    Send "_______________________________________" 
-Destin = %Clipboard% +    return 
-PrefixName = Unsigned Invoices +}
-FormatTime, DatedDir, , yyyyMMdd +
-FileCreateDir, %Destin%\%PrefixName% %DatedDir% +
-</code>+
  
-==== Move PDFs to New Dated Sub-Folder ==== +;Always on top CTRL + Space 
-<code> +;There are other ways to do this with PowerToys and such, but I've been using this since way before those options were available. 
-^!m:: +^space:: 
-Send !d +{ 
-Send ^c +    WinSetAlwaysOnTop -1"A" 
-Destin = %Clipboard% +}
-FormatTime, DatedDir, , yyyyMMdd +
-FileCreateDir, %Destin%\%DatedDir% +
-FileMove, %Destin%\*.pdf%Destin%\%DatedDir% +
-</code>+
  
-==== Run/Focus Notepad++ ==== + 
-<code> +; Press D D D to insert date as YYYYMMDD 
-^!n:: +; The ability to quickly assign an inverse date to documents, logs, directories is essential for my sanity 
-Run C:\Program Files (x86)\Notepad++\notepad++.exe+:?*: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 againRequiring 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}"
 </code> </code>
wiki/windows/auto_hotkey/auto_hoykey.1463158576.txt.gz · Last modified: (external edit)