Sign in to follow this  
Followers 0
JohnBailey

WinWait Problem

9 posts in this topic

#1 ·  Posted (edited)

Why won't this work?

$wait = WinWaitActive("Activity Detail - Windows Internet Explorer" or "Account List - Windows Internet Explorer" ,"",5)
;do action
Edited by JohnBailey

A decision is a powerful thing

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Zenda what is a RegXP?

I'm not sure this will totally work though. I only need it to look for those two windows and if something else then it generates the proper self-diagnostics.

Edited by JohnBailey

A decision is a powerful thing

Share this post


Link to post
Share on other sites

Zenda what is a RegXP?

I'm not sure this will totally work though. I only need it to look for those two windows and if something else then it generates the proper self-diagnostics.

Look into HelpFile.

There is special section about Title special definition (link from all WinWaitxxx functions).

REGEXP = regular expressions

In HelpFile is also Tutorial about Regular Expressions

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Zedna, yeah I read through that ... I don't really understand. Consequently I'm going to do some research in the forums. If you know of any additional information, that would be much appreciated. Thanks :)

Edited by JohnBailey

A decision is a powerful thing

Share this post


Link to post
Share on other sites

Zedna, yeah I read through that ... I don't really understand. Consequently I'm going to do some research in the forums. If you know of any additional information, that would be much appreciated. Thanks :)

I suggest to search in forum for examples of use these functions:

StringRegExp()

StringRegExpReplace()

Share this post


Link to post
Share on other sites

Oh! Thanks. I didn't realize it was string based! That makes WAY more sense now!


A decision is a powerful thing

Share this post


Link to post
Share on other sites

Oh! Thanks. I didn't realize it was string based! That makes WAY more sense now!

String regular expressions was made primarily for these two functions but in latest version of AutoIt it's possible to use them also in Winxxx functions with Opt('WinTitleMatchMode',4).

Share this post


Link to post
Share on other sites

Zedna, Thanks for the explanation


A decision is a powerful thing

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