LButton::
While GetKeyState("LButton","P")
Send {LButton}
Return
Insert::Hotkey, LButton, Toggle
Friday, February 27, 2009
AHK - A New Auto-Clicker
This is a new 5-line autoclicker made possible with the release of AHK 1.0.48. Use Insert to toggle it on and off.
Labels:
AHK scripts,
Hotkeys
Thursday, February 19, 2009
AHK - Submit GUI with {Enter}
This is an example of how you can use a hidden button control with the Default option set in order to submit a gui simply by pressing enter.
Forum Post
Gui, Add, Edit, vMyEdit
; Setting x and y prevents the button from changing the size
; of the GUI window when using autosize
Gui, Add, Button, Default Hidden x0 y0 gSubmit
Gui, Show, AutoSize
Return
Submit:
Gui, Submit
MsgBox Value in MyEdit was %MyEdit%
ExitApp
Forum Post
Labels:
AHK scripts,
Examples
Subscribe to:
Posts (Atom)