Jump to content
Sign in to follow this  
fabio

how i use WinWait with param not case sensitive ?

Recommended Posts

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

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...