IF Window is open..?
Is there any way of writing into a script a check to see IF a certain window is open (active or otherwise) and therefore dictating the rest of the script?
You can use an If script step with this test, where "myWindow" is the name of the window you're testing for:
Let([myWindow = "myWindow" ;windows = WindowNames ;filterWindow = FilterValues ( windows ; myWindow ) ;
result = not IsEmpty ( filterWindow )];result)
So to use in a script it would look like this:
If [ not IsEmpty ( FilterValues ( "yourWindowName" ; WindowNames ) ) ]... window is openElse... window is not openEnd If
Thanks LaRetta. Work well. Easy to understand.
Retrieving data ...