Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7449 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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

Posted

In the Design functions, WindowNames

A return-delimited list of open windows.

If [ not PatternCount(WindowNames, "My Cool Stuff") ]

  • Newbies
Posted

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.

This topic is 7449 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.