Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulating input on Remote Desktop does not work #28

Open
YangMin opened this issue Jan 9, 2020 · 1 comment
Open

Simulating input on Remote Desktop does not work #28

YangMin opened this issue Jan 9, 2020 · 1 comment

Comments

@YangMin
Copy link

YangMin commented Jan 9, 2020

I tried to simulate key press on Remote Desktop. It does not work.
Error:
Some simulated input commands were not sent successfully. The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information.

How can I do?
Thanks!

@Gh0stWalk3r
Copy link
Member

Hi @YangMin
I did not try it out with Remote Desktop, but I will have a look.
In the mean time I did a quick research and came across https://docs.microsoft.com/en-us/previous-versions/dotnet/articles/bb625963(v=msdn.10)#uiaccess-for-ui-automation-applications , so maybe this might the issue.
Can you upload a small test-sample so that it easier for me to verify?
Greets, Greg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants