Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find color
#3
Macro
Trigger @11     Help - how to add the trigger to the macro
Code:
Copy      Help
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
,,end

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?
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)