How to sendkeys to active application

I want send a keystroke to another application not windows forms, how can i do it? Thanks

1 Reply

JK Joy K George Syncfusion Team June 7, 2006 05:14 AM UTC

Hi Jack, You could use the below method.This will send keystrokes to the active appliaction. System.Diagnostics.Process.Start("notepad.exe"); SendKeys.Send("Hello");//this will send "Hello" to notepad. Regards, Joy

Loader.
Up arrow icon