我怎么能发送时间与Sendkeys.SendWait()函数? [英] How can I send a period with the Sendkeys.SendWait() function?
本文介绍了我怎么能发送时间与Sendkeys.SendWait()函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何发送使用的SendKeys一段时间?我曾尝试:
How do I send a period using sendkeys? I have tried:
System.Windows.Forms.SendKeys.SendWait("{.}");
System.Windows.Forms.SendKeys.SendWait(".");
但无论这些工作。我想送键盘快捷键谷歌搜索窗口,以便在Chrome语音搜索。该快捷键是CTRL + SHIFT +期间,我知道该怎么做CTRL + SHIFT,只是没有时间。任何人有什么想法?任何帮助是AP preciated,谢谢你。
but neither of these work. I am trying to send the keyboard shortcut to a Google search window to enable voice search in Chrome. The shortcut is CTRL+SHIFT+PERIOD, I know how to do the ctrl+shift, just not the period. Anyone have any ideas? Any help is appreciated, thank you.
推荐答案
试试这个: System.Windows.Forms.SendKeys.SendWait(Keys.OEMPeriod);
这篇关于我怎么能发送时间与Sendkeys.SendWait()函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文