Page 1 of 1

Find a Window not working properly?

Posted: Thu May 01, 2008 12:54 pm
by loomy
I have Find a Window operating on the built in timer, but when it starts and then the window it is looking for opens, the action doesn't activate. (the window is found by "test")

I'm not sure how this feature is supposed to work, but it isn't working how I expect it to work.

I also don't understand what "only return 1'th" is for and how it is supposed to work, and why it is checked by default.

Bonus additional bug/confusion: while I'm at it, even if find a window does trigger, "stop processing this event" doesn't work to actually stop the macro... I had to jump to an empty disabled macro. Not sure what stop processing this event is for if it doesn't stop processing :)

Re: Find a Window not working properly?

Posted: Sun May 04, 2008 1:36 pm
by Bitmonster
I don't see the bug here. And make sure you are using the latest beta.

"Only return 1'th" is needed, if the window hierarchy has more elements of the same type. For example try to target some element in a page displayed by Firefox. You will see dozens of "MozillaWindowClass" elements.

"Stop processing this event" stops the event processing, and that means it will no further search for macros that might match this current event. But it will not stop the currently running macro. It is seldom needed. I will make the description more clear.