July 1, 200422 yr How do I test to determine that a certain window is open? I'm making a menu layout which will open in it's own window IF it's not already open. If it is, I'll have the script simply activate the window. Can someone help?
July 1, 200422 yr One suggestion... In a script you could write an IF statement like... IF PatternCount ( WindowNames; "nameofwindow") To see if "nameofwindow" is already open and the act accordingly if it is not. SR
July 1, 200422 yr In the Design functions, WindowNames A return-delimited list of open windows. If [ not PatternCount(WindowNames, "My Cool Stuff") ]
July 1, 200422 yr Newbies The easiest solution is simply to use the 'close window (window name)' script then use the 'open window' script step. Saves you having two of the same window open at once. If the window isn't open in the first place then nothing happens.
Create an account or sign in to comment