JohnBailey Posted January 24, 2007 Share Posted January 24, 2007 (edited) Why won't this work? $wait = WinWaitActive("Activity Detail - Windows Internet Explorer" or "Account List - Windows Internet Explorer" ,"",5) ;do action Edited January 24, 2007 by JohnBailey A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted January 24, 2007 Share Posted January 24, 2007 Opt('WinTitleMatchMode',2) $wait = WinWaitActive("Windows Internet Explorer" ,"",5) ;do actionoÝ÷ Øêì¢g¦¢·vö§qçkz±¥ú+Z)ÓÙ^jëh×6Opt('WinTitleMatchMode',4) $wait = WinWaitActive("regexp=?" ,"",5) ;do action I'm not regexp expert so somebody else can be more specific at this... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted January 24, 2007 Author Share Posted January 24, 2007 (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 January 24, 2007 by JohnBailey A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted January 24, 2007 Share Posted January 24, 2007 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 expressionsIn HelpFile is also Tutorial about Regular Expressions Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted January 24, 2007 Author Share Posted January 24, 2007 (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 January 24, 2007 by JohnBailey A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted January 24, 2007 Share Posted January 24, 2007 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() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted January 24, 2007 Author Share Posted January 24, 2007 Oh! Thanks. I didn't realize it was string based! That makes WAY more sense now! A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted January 24, 2007 Share Posted January 24, 2007 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). Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted January 24, 2007 Author Share Posted January 24, 2007 Zedna, Thanks for the explanation A decision is a powerful thing Link to comment Share on other sites More sharing options...
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