【发布时间】:2017-04-02 06:34:26
【问题描述】:
您好,我正在制作一个 vs2012 项目,当计时器达到 10 秒时,程序将发送 ALT+2。 F1 单独与 sendkeys 一起使用,但不能与 ALT TAB 或 ALT+Number 一起使用。以下是我尝试过的一些代码,但它不起作用。
If mintCount = 16 Then SendKeys.Send("%2")
If mintCount = 16 Then SendKeys.Send("%(2)")
If mintCount = 16 Then SendKeys.Send("(%2)")
If mintCount = 16 Then SendKeys.Send("%{2}")
If mintCount = 16 Then SendKeys.Send("%{TAB}")
任何建议或提示将不胜感激,非常感谢..
【问题讨论】:
标签: vb.net visual-studio-2012 sendkeys