Sign in to follow this  
Followers 0
Loki

Toggling Remote Dekstop Window

2 posts in this topic

Hi guys, I need help. I need to create script, which could toggle between RDP window and window on local PC. There will be only two things on the local computer, RDP window and Excel. I just need to switch between them in some interval. This is what I came up with.

While 1 = 1

Sleep(7000)

;break do okna

Send("{ALT DOWN}")

Send("{CTRLBREAK}")

Send("{ALT UP}")

;switch na excel

Send("{ALT DOWN}")

Send("{TAB}")

Send("{ALT UP}")

Sleep(5000)

;switch na rdp

Send("{ALT DOWN}")

Send("{TAB}")

Send("{ALT UP}")

;break do fullscreenu

Send("{ALT DOWN}")

Send("{CTRLBREAK}")

Send("{ALT UP}")

Sleep(5000)

WEnd

It does switch between windows while I'm just on local PC, but when I switch to RDP window...well nothing happens. :-/

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