Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Contact me for any questions on Reddit: /u/xegaJ
- #If WinActive("RuneLoader") or WinActive("Old School RuneScape") or WinActive("OSBuddy") or WinActive("OSBuddy Pro") ; This piece of code makes sure that the AHK script only works in a specific program/game window, this comes in handy if you don't feel like suspending/pausing the AHK script whenever you want to use the keys in another window such as Chrome/Netflix. Change it to "OSBuddy"/"OSBuddy Pro"/"RuneLoader" if you're using any 3rd party client.
- numpad3::Mousemove, 100,200 ,0 ,R
- return
- x::Mousemove, -445,-235 ,0 ,R
- return
- numpad1::Mousemove, 345,35,0 ,R
- return
- z:click
- return
- c:click
- return
- numpad2::Click
- return
- a::mousemove, -25, -40, 1, R
- return
- s::click right
- return
- d::mousemove, 0, 70, 1, R
- return
- q::click
- return
- w::mousemove, 68, -320, 1, R
- return
- e::click
- return
- 1::mousemove, 220, 430, 1, R
- return
- 2::click
- return
- 3::Mousemove, -445,-235 ,0 ,R
- return
- v::click right
- return
- b::mousemove, 0, 38, 1, R
- return
- n::click
- return
- `:: ; Pressing ` (~/console key) turns the AHK icon in your system tray to red to let you know that's it's suspended.
- Suspend, Permit
- if not A_IsSuspended
- {
- Menu, Tray, Icon, %A_AhkPath%, 5, 1
- Suspend, On
- }
- else
- {
- Menu, Tray, Icon, %A_AhkPath%, 1, 0
- Suspend, Off
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment