且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何编写可以与其他程序交互的程序

更新时间:2023-11-28 16:02:58

Java不是这样做的语言。为了促进这样的功能,您需要严重依赖Windows API,尤其是那些允许您注入输入的API。作为一个起点,我建议您了解Windows应用程序实际处理输入的方式。 是一个关于这个问题的好文章。

Java is not the language to do this. In order to facilitate functionality like this you need to rely heavily on windows API, especially those that allow you to inject input. As a starting point I can suggest you get acquainted with how windows application actually process the input. This is a good article on the subject.