Alcatraz_Rs

Cooking - | 1-tick Karambwans

Oct 28th, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 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.  
  5. numpad3::
  6. Mousemove, 100,200 ,0 ,R
  7. return
  8. x::
  9. Mousemove, -445,-235 ,0 ,R
  10. return
  11. numpad1::
  12. Mousemove, 345,35,0 ,R
  13. return
  14. z:click
  15. return
  16. c:click
  17. numpad2::
  18. Click
  19. return
  20. Numpad4::
  21. return
  22. a::
  23. mousemove, -25, -40, 1, R
  24. return
  25. s::
  26. click right
  27. return
  28. d::
  29. mousemove, 0, 70, 1, R
  30. return
  31. q::
  32. click
  33. return
  34. w::
  35. mousemove, 68, -320, 1, R
  36. return
  37. e::click
  38. return
  39. 1::
  40. mousemove, 220, 430, 1, R
  41. return
  42. 2::
  43. click
  44. return
  45. 3::
  46. Mousemove, -445,-235 ,0 ,R
  47. return
  48. v::click right
  49. return
  50. b::mousemove, 0, 38, 1, R
  51. return
  52. n::click
  53. return
  54.  
  55. `::
  56. Suspend, Permit
  57. if not A_IsSuspended
  58. {
  59. Menu, Tray, Icon, %A_AhkPath%, 5, 1
  60. Suspend, On
  61. }
  62. else
  63. {
  64. Menu, Tray, Icon, %A_AhkPath%, 1, 0
  65. Suspend, Off
  66. }
  67. return
  68.  
  69. ;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