Franjey Posted January 28, 2019 Posted January 28, 2019 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?
BigDaddyO Posted January 28, 2019 Posted January 28, 2019 Something like if WinWaitActive("Abrir", "", 5) = 0 then if WinExists("Abrir", "") = 0 then exit Endif
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now