Jump to content
Sign in to follow this  
tnhomestead

Classname variable?

Recommended Posts

tnhomestead

New to autoIt, so might as well start with a stupid question.I have searched, but cant find an example of what I am doing wrong.

Using winactivate to open some windows. Trying to code a script to keep a bunch of remote desktop connection windows open. IE Click each window every 10 minutes, but want a way to enter the various vps names so the script can click them.

I couldnt find an example, and when run, there is no error. The variable contains the correct value, but nothing seems to happen.

WinActivate("CLASS:Notepad")   ; This works fine
WinActivate("CLASS:$password")   ; This does not seem to work

Share this post


Link to post
Share on other sites
tnhomestead

Many thanks, worked like a charm.

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  

×