Jump to content

Sending text to an active window in RDP


Recommended Posts

Does AutoIt work on RDP sessions? I am trying to send text to an active window (notepad) on a Remote Desktop session (Win 10) but no luck.

Is there a work around to this?

AutoItX3 auto = new AutoItX3();
Thread.Sleep(3000);//allows me to point my cursor on an active notepad in RDP (Win 10)
auto.Send("Test sending text"); //works on all apps except 1 program

Thank you!

Link to post
Share on other sites
1 hour ago, xoail said:

Does AutoIt work on RDP sessions?

The clear way to understand this would be: Treat the RDP screen as a BMP graphic.
There is no "access to the controls of the remote as controls", but as an image.
If you wanna do something on the remote session like "access to the controls of the remote as controls", you'll have to run from within that PC/session.
There is no way around that, that I have ever seen, anywhere.

I hope this post save you time into looking for a way to get it done, as there is none.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...