Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. XButton2::
  2. f2:: Suspend
  3. ToolTip % (A_IsSuspended) ? "AR15 OFF" : "AR15 ON", 936, 991
  4. return
  5. Loop
  6. {
  7. setKeyDelay, 50, 50
  8. setMouseDelay, 50
  9. $~Lbutton::
  10. while (getKeyState("lbutton", "P"))
  11. {
  12. send, {lbutton}
  13. DllCall("mouse_event", "UInt", 0x0001, "UInt", -10, "UInt", 0, "UInt", 0, "UPtr", 0)
  14. Sleep, 150
  15. DllCall("mouse_event", "UInt", 0x0001, "UInt", 10, "UInt", 0, "UInt", 0, "UPtr", 0)
  16. Sleep, 150
  17. }
  18. Return
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement