Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #SingleInstance, Force
  2. SetKeyDelay 1, 1, Play
  3.  
  4.  
  5. f7::
  6. Loop
  7. {
  8. ControlSend, , 7, World of Warcraft
  9. Sleep % Rand(1, 5)
  10. }
  11.  
  12.  
  13.  
  14. Rand( lo=0.0, hi=1 ) { ; Function by [VxE]. Wraps the 'Random' command.
  15. IfEqual, lo,, Random,, rn := hi
  16. Else Random, rn, lo, hi
  17. Return rn
  18. }
  19.  
  20.  
  21. ~*Capslock::
  22. Suspend, On
  23. while GetKeyState("Capslock", "P")
  24. Sleep, 10
  25. Suspend, Off
  26. return
  27.  
  28. ~*shift::
  29. Suspend, On
  30. while GetKeyState("shift", "P")
  31. Sleep, 10
  32. Suspend, Off
  33. return
  34.  
  35. ~*Alt::
  36. Suspend, On
  37. while GetKeyState("Alt", "P")
  38. Sleep, 10
  39. Suspend, Off
  40. return
  41.  
  42.  
  43. ~*ctrl::
  44. Suspend, On
  45. while GetKeyState("ctrl", "P")
  46. Sleep, 10
  47. Suspend, Off
  48. return
  49.  
  50. j::suspend
  51. f8::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement