Advertisement
Najeebsk

RIGHT-CLICK-MOUSE.ahk

Dec 31st, 2023
1,309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv
  2. #SingleInstance, Force
  3. SetBatchLines, -1
  4. Ins::Suspend
  5. toggle = 0
  6. #MaxThreadsPerHotkey 2
  7.  
  8. XButton2::
  9.     Toggle := !Toggle
  10.      While Toggle{
  11. *RButton::
  12. {
  13. SetMouseDelay 1
  14. Click Right
  15. If (GetKeyState("RButton","P")=0)
  16. Break
  17. Return
  18. }
  19. }
  20. Return
  21. F4::
  22. Run, nircmd.exe emptybin
  23. Return
  24. ;============ END SCRIPT BUTTON_MENU ==============
  25. #R::Reload
  26. #S::Suspend
  27. #P::Pause
  28. #ESC::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement