How to send a string which contains caps and small case character as well special character using java.awt.Robot?

安稳与你 提交于 2019-12-11 19:11:28

问题


Suppose I want to send the string below

String 1 : cd /srcdir/data/PTcpGateway

String 2 : vi am1py_packets_PS.config

I don't wanted to send one by one character, instead want to send whole string in one go. Is it possible using Java Robot?

I tried to follow this post, but it does not work for me.

来源:https://stackoverflow.com/questions/58220899/how-to-send-a-string-which-contains-caps-and-small-case-character-as-well-specia

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!