I start a new process using
Process reprocessor = Process.Start(@"C:\Scripts\Tools\Reprocessor\reprocessor.exe");
I then wait for that process to load its window:
do // Wait for process to open
{
processes = Process.GetProcessesByName("reprocessor");
Thread.Sleep(1000);
}
while (processes.Length == 0);
My question is, how can I send keyboard input to that process? Such as cntl, tabs and numbers.
I have been investigating SendMessage but I have basically got no where with it and I'm not even sure it is ther right approach.
The process is a closed source application. Likely written in .net winforms etc but it is a black box to me.