|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Keyboard Input and Send KeysI 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. 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: Show quoteHide quote > 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. >
How does the community rate .NET 2005 vs. .NET 2003?
Some thoughts on VB9 Set a text in a RowHeader cell Webapplications quits without matter in ASP.NET 2.0 List.Add method overwriting collectionbase? The variable 'GroupBox1' is either undeclared or was never assigned. List all public properties of a Class ? Listbox controls i love reflection:) Ado.net to excel ? |
|||||||||||||||||||||||