Jump to content

Recommended Posts

Posted

Hello.  I am new to autoit and would like to create a conditional statement that follows the logic:  If 1) the WinWaitActive timeout is reached and 2) the windows is not open Then Exit Script.


WinWaitActive("Abrir", "", 5)  ==> Window title is "Abrir" and Timeout is currently set to 5 seconds.

I'd want something such as:  If WinWaitActive.timeout & "Abrir".isNotOpen() then Exit Script  ==> This is sample syntax, to make the idea clearer. How could I code this into autoit?


 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...