tnhomestead Posted October 17, 2013 Share Posted October 17, 2013 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 Link to comment Share on other sites More sharing options...
JohnOne Posted October 17, 2013 Share Posted October 17, 2013 WinActivate("[CLASS:" & $password & "]") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
tnhomestead Posted October 17, 2013 Author Share Posted October 17, 2013 Many thanks, worked like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now