Jump to content
Sign in to follow this  
Haseeb

Need Help in Closing three windows at the same time.

Recommended Posts

Haseeb

how can i detect and close three windows at the same time.

i am trying like this

if winexists("1") or ("2") or ("3") Then
     winclose("1")
     winclosw("2")
     winclose("3")
EndIf

but it takes some more mili seconds.

how can i close at the same time without any delay of mili second ?

or otherwise tell me how to write it in one line as i saw in another thread but not helpful to me.

Edited by GsmExpert

Share this post


Link to post
Share on other sites
Richard Robertson

That would be even slower.

AutoIt is a synchronous language. It does not perform commands at the same time. People have made it do so, but AutoIt was never meant to.

Share this post


Link to post
Share on other sites
Haseeb

i am new to autoit...

can i also add more words ?

and what is [last] why did you put this ?

this is giving error of endif where to put endif in it ?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.