ryantollefson Posted May 14, 2007 Share Posted May 14, 2007 (edited) 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 May 14, 2007 by ryantollefson Link to comment Share on other sites More sharing options...
Generator Posted May 14, 2007 Share Posted May 14, 2007 ControlSend() Link to comment Share on other sites More sharing options...
ryantollefson Posted May 14, 2007 Author Share Posted May 14, 2007 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. Link to comment Share on other sites More sharing options...
hearurscream Posted May 14, 2007 Share Posted May 14, 2007 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. Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 14, 2007 Share Posted May 14, 2007 RunAsSet() in the help file. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now