How can I check if a window is open or not ?

Ask general questions here.
mirih87
Posts: 11
Joined: Tue Jul 08, 2014 1:54 pm

How can I check if a window is open or not ?

Post by mirih87 » Tue Jul 29, 2014 2:16 pm

I have a folder (window) within the repository.
I would like to close this folder but only if the folder is open .
repo.Folder.Self.Close();
How can I check if the folder is open or not ?

thanks in advance

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How can I check if a window is open or not ?

Post by Support Team » Thu Jul 31, 2014 3:26 pm

Hi mirih87,

You can use the Validate Class in order to check if the element exists or not.
Please take a look at the section Using Validate Class in our user guide.
Please let me know if this doesn't help solving the issue.

Regards,
Bernhard

mirih87
Posts: 11
Joined: Tue Jul 08, 2014 1:54 pm

Re: How can I check if a window is open or not ?

Post by mirih87 » Mon Aug 04, 2014 1:44 pm

The problem is solved! Thanks