PDA

View Full Version : A few questions how little things work in girder.



Paxtez
January 26th, 2003, 05:01 PM
I looked around and I couldn't find the answers to these questions.
1) How does the targeting window work in reguards to the 'window exsists' girder command? It would seem that it should produce a yes result if any of the checkboxes are found. But it seems like it only cares if the last checkbox is found. Or maybe could that be a feature for a later version?

2) How does it process things, like order of importance. I made a function that tests something, (which ends up going through, two other events) but the result was always lagging. I tried putting a wait in between the function call and the view result, but it never worked. I finally got it to work when I put the function call and the result test on two sperate events (so it seems the priority was the problem).

See exported group for what I was doing.
(uses the xp ocd plugin for text output)
PS: While editing this for exporting, I found then then function calls 'window exsists' girder command. But the rest of the command event is continued before the result of the called 'window exsists' command is processed.

Francois
January 27th, 2003, 09:20 AM
The 'window exists' command looks for a window that matches ALL the criteria you set (unless you check options such as 'foreground'...). As you know you can set it to target the first match, the nth match or all matches...

I'm not sure I know the answer to your second question, and don't have Girder on the machine I use at the moment. I believe that each time an event is recognized by Girder or a command is launched via Girder, it starts its own thread immediately, which may explain your problem