Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5. toggle=0
  6. *LAlt::
  7. toggle:=!toggle
  8. If Toggle
  9. Send {LAlt up}
  10. Else
  11. Send {LAlt down}
  12. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement