By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,846 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,846 IT Pros & Developers. It's quick & easy.

Keyboard Input and Send Keys

P: n/a
I can open an application such as Notepad and use SendKeys to send
input to the Notepad.

What I would like to do is reference an already running application and
then send keyboard input to it. Any thoughts? Can this be done with
sendkeys or is there another method.

Feb 26 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Just bumping this message from the weekend.

Feb 27 '06 #2

P: n/a
Hello, Chuck,

Yes, I think that you could do this, but you would need to activate the
other application first (and hope that nothing changes that state before
the interaction is complete).

I strongly recommend finding a solution other than SendKeys. See if you
can't use the SendMessage API to send the keystrokes instead. (Try a
google search for "SendKeys alternatives" or something like that.) I
think that you will find a better and more consistently reliable solution.

Cheers,
Randy
Charlie Brown wrote:
I can open an application such as Notepad and use SendKeys to send
input to the Notepad.

What I would like to do is reference an already running application and
then send keyboard input to it. Any thoughts? Can this be done with
sendkeys or is there another method.

Feb 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.