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

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

Recommended Posts

Posted

Hi, MarkSLC!

Is there reason to know is open or not? If you need to open - open it, or if you want to close - close it, without knowing it is open or close.

Posted

Hi. Yeah, I have some scripts that depend on knowing whether the window is open and the information available to the user, and if the window is taking up screen real estate.

I started out by setting a global variable "flag." The user clicks a button, the New Window() opens, the flag = true. The user clicks the same button (a toggle), the window closes, the flag = false.

The problem? The user can click the window's close button (of the close/minimize/maximize buttons), and I would not know the window is gone.

Posted

Dont use your button for clossing window(use system clossing button(close/minimize/maximize buttons)).

Your button use only for opening window.

Posted

Use the WindowNames {( fileName )} function. This returns a carriage returned delimitated listing of all the current windows that are open. More specifically, the window's titles. All you have to do is run a patterncount against this function for what you're looking for.

Posted

You may find this custom function useful:

http://www.clevelandconsulting.com/support/viewtopic.php?t=287

This topic is 6915 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.