Posts: 1,769
Threads: 410
Joined: Feb 2003
i am creating a macro that starts when a window is created and active. however i can only get the macro to start with the active setting and not "!ca".
It always jumps to the top of all the windows and it won't trigger even if i have "wait" checked. but it works flawlessly when in is just set to active.
is there any more info i can give you to help?
thanks
Posts: 12,140
Threads: 142
Joined: Dec 2002
What shows Log Window Events?
Posts: 1,769
Threads: 410
Joined: Feb 2003
Quote:name 4195452 "rctrl_renwnd32" "QM note - Message (HTML) "
created 3670750 "Afx:bfe0000:40" "PDFMakerWindow"
visible 4195452 "rctrl_renwnd32" "QM note - Message (HTML) "
created 3736286 "CLBlockingWnd" ""
visible 3736286 "CLBlockingWnd" ""
created 3801822 "CLBlockingWnd" ""
visible 3801822 "CLBlockingWnd" ""
"
WOW you got me there! how can Outlook open a message and put it ontop of everything without it being active?!
Posts: 12,140
Threads: 142
Joined: Dec 2002
The trigger works when message window is opened first time after Outlook starts. Then, when you close the window, it is not destroyed but only hidden. Then, when you open a message (possibly other), Outlook unhides the window.
out win("- Message (HTML) " "rctrl_renwnd32")
finds the same window when visible and when not.
Use "visible" trigger.
Posts: 1,769
Threads: 410
Joined: Feb 2003
AAAhHHHHrrrrrgggg....Freakin' Bill!
thanks.