RFT个人没想到办法,最终用AUTOIT,该问题解决。
File file = new File("lib", "jacob-1.15-M4-x86.dll"); //path to the jacob dll
System.setProperty(LibraryLoader.JACOB_DLL_PATH, file.getAbsolutePath());
AutoItX aj=new AutoItX();
int x=aj.mouseGetPosX();
int y=aj.mouseGetPosY();
aj.mouseClick("right",x,y,1,10);