Last active
April 6, 2021 11:49
-
-
Save Jaid/10c9fc5a894448d108eb600a55eee404 to your computer and use it in GitHub Desktop.
My personal boilerplate for building complex hotkey scripts in AutoHotkey v2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Warn All, StdOut | |
| #SingleInstance Prompt | |
| #Include ../lib/jaid.ahk2 | |
| main() { | |
| ; TODO: Write business logic | |
| } | |
| ; TODO: Change key | |
| #e:: { | |
| runMain("hotkey", main) | |
| } | |
| if IsSet(&A_DebuggerName) { | |
| runMain("debug script", main) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment