Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger when Window is created - won't trigger
#1
I'm trying to do a very simple macro but it won't trigger by Window creation.

I just want a few things to happen when I create a new outlook 2003 task (triggered when "Untitled - Task" is created - or activated, whatever (it is only named that at creation anyway))

So my trigger is:
Window\Created and Active
Code:
Copy      Help
!ca"Untitled - Task" "rctrl_renwnd32"

my macro is:
Code:
Copy      Help
int hwnd=val(_command)
int w1=act(win("Untitled - Task" "rctrl_renwnd32"))
lef 223 164 w1
mes "it worked"

no errors but it just doesn't trigger. I also tried plain Activated by alt-tabbing and that didn't work either.

What am I missing here?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)