Xyberviri

AutoClickLeftMouseButton.au3

Mar 5th, 2021
1,027
224 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Global $Paused
  2. HotKeySet("{PAUSE}", "TogglePause")
  3. HotKeySet("+{PAUSE}", "Terminate")
  4.  
  5. #Include <Misc.au3>
  6. While 1
  7.  
  8. while $Paused
  9. tooltip("auto clicking left mouse button",0,0)
  10. mousedown("left")
  11. mouseup("left")
  12. sleep(4000)
  13.     wend
  14.   tooltip("",0,0)
  15. WEnd
  16.  
  17. Func TogglePause()
  18.   $Paused = NOT $Paused
  19. EndFunc
  20.  
  21. Func Terminate()
  22.     Exit 0
  23. EndFunc
RAW Paste Data