Advertisement
congdantoancau

CtrlClick

Aug 21st, 2018
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6.  
  7. Gui, Add, Text,, Choose the type of Click:
  8. Gui, Add, DropDownList, AltSubmit Choose1 vClickType, Single|Double|Triple
  9. Gui, Add, Button, Default w80, OK
  10.  
  11. Menu, Tray, Add, Settings
  12. return
  13.  
  14. ButtonOK:
  15.     Gui, submit
  16.    
  17. return
  18.  
  19. Settings:
  20.     Gui, show
  21. return
  22.  
  23. RControl:: Send, {Lbutton %ClickType%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement