10-17-2008, 04:29 PM
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
my macro is:
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?
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
my macro is:
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?