Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $XButton2:: ; change "XButton2" ONLY to whatever button you need wherever this comment appears. for hotkey help go to
- $^x:: ; https://www.autohotkey.com/docs/Hotkeys.htm
- $^XButton2:: ; change "XButton2" ONLY to whatever button you need wherever this comment appears.
- Loop
- {
- if not GetKeyState("XButton2", "P") ; change "XButton2" ONLY to whatever button you need wherever this comment appears.
- if not GetKeyState("x", "P")
- if not GetKeyState("^XButton2", "P") ; change "XButton2" ONLY to whatever button you need wherever this comment appears.
- break
- send {Wheelup}
- sleep, 10
- send {Wheeldown}
- sleep, 10
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement