Skip to content

Instantly share code, notes, and snippets.

@godfat
Created September 28, 2016 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save godfat/7773a60522c0a36e95ccb0c6e13c7965 to your computer and use it in GitHub Desktop.
Save godfat/7773a60522c0a36e95ccb0c6e13c7965 to your computer and use it in GitHub Desktop.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive, ahk_class ArenaNet_Dx_Window_Class
#MaxThreadsPerHotkey 2
Toggle = 0
F9::
Toggle := !Toggle
While Toggle {
MouseClick, left
Sleep 25
}
Return
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive, ahk_class ArenaNet_Dx_Window_Class
+Space::
Send {v}{Space}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment