Sending keystrokes to a program

Posted by Or Betzalel on Stack Overflow See other posts from Stack Overflow or by Or Betzalel
Published on 2010-04-30T11:20:27Z Indexed on 2010/04/30 11:37 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

In window form, I made a button and I'm trying to make it send F1 to a specific window (Such as FireFox, My Computer, etc...)

My questions are :

  • How do I do it by the window's name? (such as "Mozilla Firefox")
  • How do I do it by the process's name? (such as firefox.exe)

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms