Jump to content
Sign in to follow this  
BigDaddyO

Another Simple Question

Recommended Posts

BigDaddyO

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


hmm... I guess I have to have a signature...

Share this post


Link to post
Share on other sites
dmbech

AutoItSetOption ( "WinTitleMatchMode",2)

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

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  

×