Send key strokes to another application C#

前端 未结 6 853
生来不讨喜
生来不讨喜 2021-01-16 00:15

I need to automate FileMon.exe to startup with filters, save out the log it generates, and then exit.

My solution has been to write an assist application that will d

6条回答
  •  感动是毒
    2021-01-16 00:35

    You can use Windows.Forms.SendKeys to send keystrokes to the active application.

提交回复
热议问题