How to send keys instead of characters to a process?

后端 未结 4 1981
名媛妹妹
名媛妹妹 2020-12-03 06:31

System.Diagnostics.Process exposes a StreamWriter named StandardInput, which accepts only characters as far as I know.

But I need to send keystrokes as well, and som

4条回答
  •  猫巷女王i
    2020-12-03 06:42

    Have you seen this great tool - AutoIt. This is a scripting tool. To send a backspace you would use Send("{BACKSPACE}")

    This is a great tool and it can help in automating many manual clicks/double-clicks/etc.

    Is this relevant to your question ?

提交回复
热议问题