Jump to content
Sign in to follow this  
ryantollefson

Send keystrokes to another user?

Recommended Posts

ryantollefson

Sorry if this is a Noob question.

I'm wondering how I can send keystrokes to another user (local) account. For example:

I have "User1" and "User2" as different accounts on a machine. If I am logged in as "User1" how can I send keystrokes to the "User2" account instead of "User1" (as if "User2" were logged in and typing on the keyboard)?

Better yet, would there be a way to send the keystrokes to a specific application (like notepad) on the "User2" account while logged in as "User1"?

Edited by ryantollefson

Share this post


Link to post
Share on other sites
Generator

ControlSend()

Share this post


Link to post
Share on other sites
ryantollefson

ControlSend()

That will let me send a keystroke, but will only do it in the account that is currently logged in - not for another user.

Share this post


Link to post
Share on other sites
hearurscream

I think you're shooting in the dark on this one. Either the program has to be running on the account that you want the send to apply to, or it has to manually log in and back on the account that you want to send to.


Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

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  

×