Advertisement
GatinhoMeow

Autohotkey - RIGHT CLICK WIN + Z

Apr 12th, 2023
1,318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Autohotkey 0.39 KB | Source Code | 0 0
  1. #MaxThreadsPerHotkey 3
  2.  
  3. #z::
  4.  
  5. #MaxThreadsPerHotkey 1
  6.  
  7. if keep_winz_running = y
  8.  
  9. {
  10.  
  11.     keep_winz_running = n
  12.  
  13.     return
  14.  
  15. }
  16.  
  17. ; Otherwise:
  18.  
  19. keep_winz_running = y
  20.  
  21. Loop,
  22.  
  23. {
  24.  
  25.     MouseClick, right
  26.  
  27.     Sleep, 50 ;This means the script will wait 1.5 secs
  28.  
  29.     if keep_winz_running = n  ; The user signaled the loop to stop.
  30.  
  31.         break  ; break out of the loop
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement