Advertisement
Guest User

Untitled

a guest
Oct 20th, 2022
7,110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. $XButton2:: ; change "XButton2" ONLY to whatever button you need wherever this comment appears. for hotkey help go to
  2. $^x:: ; https://www.autohotkey.com/docs/Hotkeys.htm
  3. $^XButton2:: ; change "XButton2" ONLY to whatever button you need wherever this comment appears.
  4. Loop
  5. {
  6. if not GetKeyState("XButton2", "P") ; change "XButton2" ONLY to whatever button you need wherever this comment appears.
  7. if not GetKeyState("x", "P")
  8. if not GetKeyState("^XButton2", "P") ; change "XButton2" ONLY to whatever button you need wherever this comment appears.
  9. break
  10.  
  11. send {Wheelup}
  12. sleep, 10
  13. send {Wheeldown}
  14. sleep, 10
  15. }
  16. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement