TEdit window in View System Windows

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

TEdit window in View System Windows

Post by JRL » Wed Feb 21, 2007 5:33 pm

If you use "View System Windows" your search text becomes a TEdit window after your search completes.

If you search for a non-existant window, for instance "TestWindowName", you will not find it. If you refresh the list and search again or exit from "View System Windows", reenter "View System Windows" and search again, you will find a TEdit window called "TestWindowName". It is the window that contains the search text in the "View System Windows" program.

The problem occurs if you are running (or testing) a script that tests for a window named "TestWindowName" after you have used "View System Windows" to search for "TestWindowName".

IFWindowOpen>TestWindowName*

Will find the TEdit window and will report that the "TestWindowName" window is open even though there should not be an open window with that name.

Would it be possible to have a "Clear on exit" option for "View System Windows" that would remove the current entry? In the mean time, deleting the search entry then searching for *blank* will clear the previously searched text from the TEdit window.

Thanks for listening,
Dick

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Fri Jun 22, 2007 5:04 am

Good find JRL.

Marcus, what do you think about this one? Is it officially on the Wish List?

It might eliminate some head scratching for users who are trying to target/control certain windows but end up targetting the wrong window due to having just used the "View System Windows" utility...
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts