09-14-2008, 07:03 PM
Macro
Trigger @11
When I get instant messaged then the window "Away" starts flashing orange, so I have it setup so if I get messaged while I'm not at my computer, that when the window starts flashing orange it does everything I have it setup to do. Am I doing something wrong?
Trigger @11

Acc a=acc("Away" "PUSHBUTTON" win("" "Shell_TrayWnd") "ToolbarWindow32" "" 0x1001)
int w1=win("Away" "__oxFrame.class__")
int w2=win("AIM" "__oxFrame.class__")
int c=0x4677AD
spe 100
rep
,if(a.FindColor(c))
,,0.5
,,res w1
,,0.5
,,res w2
,,act w2
,,wait 5 WA w2
,,0.5
,,'At
,,0.5
,,act win("Text Message with" "__oxFrame.class__")
,,'SyouVhaveVbeenVmessaged.Y
,,endWhen I get instant messaged then the window "Away" starts flashing orange, so I have it setup so if I get messaged while I'm not at my computer, that when the window starts flashing orange it does everything I have it setup to do. Am I doing something wrong?
Taking on Quick Macros one day at a time
