I needed to detect if an application window was present on the screen, and if it was, take appropriate action. So, looking at the following code documentation:
WinExists
--------------------------------------------------------------------------------
Checks to see if a specified window exists.
WinExists ( "title" [, "text"] )
I wanted to make sure that things were working as they should, so my test for this was as follows:
The problem, which I was unaware of, is that I apparently can't make the test (value) comparison in the manner that I did. The proper way to use this method was as follows:
What a bummer.


0 Trackbacks