Sign in to follow this  
Followers 0
StandardUser

WinWait not working

3 posts in this topic

#1 ·  Posted (edited)

More exactly, it works perfectly when waiting just for 1 window, e.g.

Opt("WinTitleMatchMode", 2)
WinWait("Notepad" ,"",10)

But when I try to make it wait for any of 2 windows, it just doesn't work, e.g.

Opt("WinTitleMatchMode", 2)
WinWait("Notepad" Or "Calculator","",10)

I would be really grateful for any hint or workaround.

Edited by 871

Share this post


Link to post
Share on other sites



Thanks a lot, Zef!

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  
Followers 0