Created
December 9, 2013 08:58
-
-
Save TLMcode/7869343 to your computer and use it in GitHub Desktop.
OnMessage Simple EventFunction Array Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OnMessage(0x404,"TrayTip"), TrayTip() | |
Return | |
TrayTip(ParamArr*){ | |
If !(ParamArr[1]) | |
TrayTip, Tray Test, Click Me, 3 | |
If (ParamArr[2]=1028 && ParamArr[4]=A_ScriptHwnd ) { | |
TrayTip, Next TrayTip, You waited too long! Click this time!, 3 | |
} | |
if (ParamArr[2]=1029 && ParamArr[4]=a_scripthwnd) { | |
TrayTip, Final TrayTip, Thanks for clicking!, 3 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment