How can I send a period with the Sendkeys.SendWait() function?

前端 未结 2 1551
花落未央
花落未央 2021-01-27 16:00

How do I send a period using sendkeys? I have tried:

System.Windows.Forms.SendKeys.SendWait(\"{.}\"); 
System.Windows.Forms.SendKeys.SendWait(\".\");
         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-27 16:41

    Try this: System.Windows.Forms.SendKeys.SendWait(Keys.OEMPeriod);

提交回复
热议问题