Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Created and Active problems
#1
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
An old blog on QM coding and automation.

The Macro Hook
#2
What shows Log Window Events?
#3
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?!
An old blog on QM coding and automation.

The Macro Hook
#4
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.
#5
AAAhHHHHrrrrrgggg....Freakin' Bill!

thanks.
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)