Pat*_*ryk 3 c# sendkeys
我试图在按住C的同时按住CTRL键,但无法正常工作。我已经阅读了SendKeys类,但是仍然无法使用。
那就是我尝试过的:
SendKeys.SendWait("^C"); SendKeys.SendWait("{^C}"); SendKeys.SendWait("^{C}"); SendKeys.SendWait("^(C)"); SendKeys.SendWait("(^{C})");
Jon*_*s W 5
您需要加括号。例:
SendKeys.SendWait("^(c)");
注意,c应该是小写的。区分大小写
归档时间:
14 年,7 月 前
查看次数:
6676 次
最近记录:
9 年 前