Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ;#Warn ; Recommended for catching common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- ;Toggle W with Windows+Z
- toggle = 0
- #Z UP::
- if (toggle == 0){
- toggle = 1
- Send {w down}
- }
- else {
- toggle = 0
- Send {w up}
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement