Sign in to follow this  
Followers 0
fabio

how i use WinWait with param not case sensitive ?

4 posts in this topic

i need to use a function WinWait where the param could be "autoIT" or "AUTOit" for example and the function return true to this 2 cases.

it´s possible?

thanks

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

look at WinTitleMatchMode option in the help file

<{POST_SNAPBACK}>

Nah.. thats just for "where" to find the string..

Window titles and text are case sensitive.  You must match the case and punctuation exactly.  To avoid problems select the title/text in the Window Info Tool and use ctrl-c to copy it and then paste it directly into your script.

Only thing i can think of is to have multile WinExist() tests for each variation... Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

...Only thing i can think of is to have multile WinExist() tests for each variation...

<{POST_SNAPBACK}>

...or wait with a loop that uses WinList and a case insensitive StringInStr test to exit the loop...

[size="1"][font="Arial"].[u].[/u][/font][/size]

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