Jump to content

String operator [ALL]


akroon
 Share

Recommended Posts

Hi all,

I'm looking for an operator like [*] in most languages, to work with windows title.

I give an example to understand the situation: i want use a function WinMove() on a window which part of the title have a fixed text, and the rest can change. For example a title which tell how much new mails you have in the inbox can be:

  • 3 New mails!
  • 4 New mails!
  • 33432 New mails!
  • and so on

I want use the function WinMove() on this window.

Is there something like:

WinMove("* New mails!","",0,0)

Thanks for your time :)

Link to comment
Share on other sites

  • Moderators

Moved to the appropriate forum, as the DEV forum very clearly states:

Quote

Do not create AutoIt-related topics here, use AutoIt General Help and Support 

Take a look at WinTitleMatchMode in the help file.

Edit: Or wait until someone copies and pastes out of the help file for you :)

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

You can use.

Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase
 

 

Saludos

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...