Jump to content
Sign in to follow this  
CyberMax

Vbscript WinTitleMatchMode problem

Recommended Posts

CyberMax

This script below works

Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
Call oAutoIt.Opt("WinTitleMatchMode", 2)


If oAutoIt.WinExists("note") Then
    WScript.Echo "Window exists"
End If

but this script below dont works

Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
Call oAutoIt.Opt("WinTitleMatchMode", -2)


If oAutoIt.WinExists("note") Then
    WScript.Echo "Window exists"
End If

What did I do wrong here? I need it to be case insensitive so that I can match any title irregardless of the lowercase or uppercase of the same title.

Please help. Thank you.

Share this post


Link to post
Share on other sites
CyberMax

Tonite is April 1st, any news regarding my problem here? Thank you

Share this post


Link to post
Share on other sites
CyberMax

Well, today October 20, 2013, more than a year now, any solution to my problem above.

Thank you.

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  

×