.NET ez 2012-05-04
利用 SendKeys.Send 即可 輸入文字 或 發送某個按鍵。
SendKeys.Send("文字"); //發送文字 SendKeys.Send("{ENTER}"); //發送Enter按鍵
標籤: .NET
本文章網址:
https://www.ez2o.com/Blog/Post/csharp-Keyboard-Control-Send-Key
https://www.ez2o.com/Blog/Post/133
https://www.ez2o.com/Blog/Post/csharp-Keyboard-Control-Send-Key
https://www.ez2o.com/Blog/Post/133