enviar pulsación de tecla a otro proceso

Juan Carlos Ferrández Mollá <[email protected]>
Newsgroups gmane.comp.gnome.mono.hispano
Message-ID <[email protected]>
Buenas.

Tengo el siguiente código:

StreamWriter si;
Process p;

p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardInput = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.FileName = proceso;
p.StartInfo.Arguments = parametros;

p.Start();
p.WaitForInputIdle();
si = p.StandardInput;

Quería enviar pulsación de tecla F11 al proceso que se lanza, ya que al 
darle a esa tecla, el programa en cuestión se coloca a pantalla completa.

He intentado con system.windows.forms.sendkeys.sendwait("{F11}")
y con si.write(gdk.keys.f11)

pero nada, que puedo hacer?

Gracias.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.