akroon Posted September 12, 2017 Share Posted September 12, 2017 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 More sharing options...
Moderators JLogan3o13 Posted September 12, 2017 Moderators Share Posted September 12, 2017 (edited) 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 September 12, 2017 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 More sharing options...
Danyfirex Posted September 12, 2017 Share Posted September 12, 2017 You can use. Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
akroon Posted September 12, 2017 Author Share Posted September 12, 2017 (edited) Thank you! AutoItSetOption("WinTitleMatchMode", 2) Its working Edited September 12, 2017 by akroon 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