Guest User

Sprint bind

a guest
Oct 24th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 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. $LWin::
  6. Loop
  7. {
  8. if not GetKeyState("LWin", "P")
  9. break
  10.  
  11. Sleep 5
  12. Send {space down}
  13. Sleep 5
  14. Send {space up}
  15. }
  16. Return = 1
  17. Return
  18. ;_
Add Comment
Please, Sign In to add comment