Advertisement
VastLite

Auto-Click-Revision

Sep 9th, 2015
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Persistent
  2. SetTitleMatchMode 2 ; allows titles to be partial
  3. xcoord:=0 ; put in the x-coordinate of where you want to click, based on the upper-left of the WINDOW
  4. ycoord:=0 ; put in the y-coordinate
  5. winName=Time Clickers ; name of window, which can be partial; you may also use ahk_class
  6. SetTimer,timeClickers,10
  7. return
  8.  
  9. #MaxThreadsPerHotkey 4
  10. F2::ppause:=!ppause
  11.  
  12. timeClickers:
  13. while(ppause)
  14.     sleep 30
  15. ControlClick,% "x" xcoord " y" ycoord,% winName,,,,Pos
  16. return
  17.  
  18. #MaxThreadsPerHotkey 2
  19. F1::
  20.     Pause
  21.     Suspend
  22.  
  23. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement