Jump to content

Recommended Posts

Posted

I am writing a script to open the windows Tasks window but on some comptuers the window opens with the title of Tasks and others it opens as c:\windows\tasks and on 2000 comptuers it may open as c:\winnt\tasks.

My question is on the WinWaitActive can i put a variable such as the dos * and then Tasks so it will look for any window that has Tasks in the title?

Thanks,

Mike

Posted

AutoItSetOption ( "WinTitleMatchMode",2)

This will match partial strings so you could simply use "tasks" as the string to look for.

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
×
×
  • Create New...