Learn AutoHotKey by stealing my scripts
Wow, the one time in history I may be able to contribute something useful to a code-related discussion. I set up this script so I could quickly and easily open a blank plaintext notepad.exe instance at any time, which is super useful as a writer. When I hit tilde it opens, when I hit tilde again, it closes, with a save dialog if anything was written. It&#x27;s the only thing my AHK does!<p>`::<p>IfWinActive Untitled - Notepad<p>WinClose<p>else<p>IfWinActive *Untitled - Notepad<p>WinClose<p>else<p>IfWinExist Untitled - Notepad<p>WinActivate<p>else<p>IfWinExist *Untitled - Notepad<p>WinActivate<p>else<p>Run Notepad<p>return