Jump to content
Sign in to follow this  

Visual Stuido VB.nET 2008 and AutoItSetOption WinTitleMatchMode

Recommended Posts

I'm pretty new to using any of the Autoit functions inside of VB.NET. I can't get the match mode to change from the default (matching from left to right). Here's the code i'm using to try and set it, but it never seems to change the actual options.

Dim autoit As New AutoItX3Lib.AutoItX3

autoit.AutoItSetOption("WinTitleMatchMode", 2)

ie of what's not working. I want to do this.

autoit.winactive("Version") but the actual title is "MyApp Version 2.0.1", so it would work if i did "MyApp Version" but the software i'm using has multiple product levels and the names change. Thanks.

Any thoughts/help? Much appreciated.

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...