如何使用robot.pressKey键入"a"? [英] How to type 'a' using robot.pressKey?
本文介绍了如何使用robot.pressKey键入"a"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎robot.pressKey(KeyEvent.VK_A)只能键入"A".那么我该如何输入小写字母"a"?
It seems the robot.pressKey(KeyEvent.VK_A) could only type 'A'. How can I type the lower letter 'a' then?
推荐答案
robot.pressKey(KeyEvent.VK_A)
按下键盘键 A (是较低的'a'),而无需按下 Shift .
robot.pressKey(KeyEvent.VK_A)
press the keyboard key A which is a lower 'a' without pressing Shift.
这篇关于如何使用robot.pressKey键入"a"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文