Alcatraz_Rs

Crafting - | Gold amulets

Oct 28th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. ;#IfWinActive [Program file name] makes sure that the script will only work inside that specific program window, so that you don't have to suspend it every time you want to use the keys in e.g. Chrome. Change it to OSBuddy/OSBuddy Pro/RuneLoader if you're using the other clients.
  2. #If WinActive("RuneLoader") or WinActive("Old School RuneScape") or WinActive("OSBuddy") or WinActive("OSBuddy Pro")
  3.  
  4. 1::Rbutton
  5.  
  6. 2::MouseMove 0, 70, 1, R
  7.  
  8. 3::click
  9.  
  10. Q::send, 3
  11.  
  12. W::send, 3
  13.  
  14. E::send {enter}
  15.  
  16. `::
  17. Suspend, Permit
  18. if not A_IsSuspended
  19. {
  20. Menu, Tray, Icon, %A_AhkPath%, 5, 1
  21. Suspend, On
  22. }
  23. else
  24. {
  25. Menu, Tray, Icon, %A_AhkPath%, 1, 0
  26. Suspend, Off
  27. }
  28. return
  29.  
  30. ;The script below the "`::" turns the AHK icon in your system tray to red so that you know that's it's suspended.
Add Comment
Please, Sign In to add comment