Sign in to follow this  
Followers 0
JamesBlackman

Script Not Working Correctly on a Remote Desktop Session

3 posts in this topic

I wrote script at work that will open a telnet session to a bootbar and turn off or on a port which works fine as long as I have the remote desktop open the entire time the script runs. But if I close the session (still leaving it logged in just not connected to it anymore. The script does not work as expected. It seems that the WinActivate command does not work so the script will sit there waiting for the window to become activated. I can log in to the client and click the telnet window to make it active and the script will continue. I use this in automated testing, so i can not post the code I use because of the nature of my company and the agreements that I have with them.

Share this post


Link to post
Share on other sites



Did you try activating by Handle? or just by window name?

Share this post


Link to post
Share on other sites

Did you try activating by Handle? or just by window name?

Window Name, I noticed all the other people that had problems after I posted this tread so I am going to try the different ways that I saw people where trying to do this. If none of those work I will post again. Thanks for the response.

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  
Followers 0