gwarble's Tools |
AutoHotkey Homepage gwarble's Tools |
a couple functions and scripts i've found useful and worthy of sharing:
Functions:
Notify()
Compile()
Instance()
Apps:
EitherMouse
Notify
#SingleInstance, Off ; required by Instance() for obvious reasons, may be included later Instance() ; checks for parameters/label Gui, Add, Button, gSynchronous, Instance("-Beep") Gui, Add, Button, g-Beep, SoundBeep Gui, Show Return Synchronous: Instance("-Beep") ; starts another instance and runs the beep label Return -Beep: ; this can be run by the second instance, synchronously TrayTip, Beep..., Instance() SoundBeep, 300, 5000 ; or the SoundBeep button, asynchronously (paused) TrayTip Return #Include *i Instance.ahk ;= use stdlib and remove this line