Streaky77 Posted November 21, 2010 Share Posted November 21, 2010 (edited) Hi all =) I noticed that the AutoIT window Info is not able to watch controls from JAVA application (swing UI or something else). ex: Chrome browser buttons, the target point from AU3Info window can't find any controls. As a big picture. Do you know how to get the CLASS identification of differents controls from a JAVA application ? Thanks a lot! Edited November 21, 2010 by Streaky77 Link to comment Share on other sites More sharing options...
Fubarable Posted November 21, 2010 Share Posted November 21, 2010 (edited) In order to allow it to be run on multiple operating systems and have control over look and feel, Swing does not use native components as the GUI components, and this is likely causing the problem you're running into. Myself, I don't know of work-arounds for directly communicating with Swing GUI elements (and I'm not an AutoIt pro, but I do know Java and Swing pretty well), but if the Java/Swing code is yours, it's not that hard to integrate AutoIt with Java by other means. Edited November 21, 2010 by Fubarable Link to comment Share on other sites More sharing options...
Streaky77 Posted November 22, 2010 Author Share Posted November 22, 2010 In order to allow it to be run on multiple operating systems and have control over look and feel, Swing does not use native components as the GUI components, and this is likely causing the problem you're running into. Myself, I don't know of work-arounds for directly communicating with Swing GUI elements (and I'm not an AutoIt pro, but I do know Java and Swing pretty well), but if the Java/Swing code is yours, it's not that hard to integrate AutoIt with Java by other means.The java code is not mine :/ Link to comment Share on other sites More sharing options...
slu Posted January 13, 2011 Share Posted January 13, 2011 In order to allow it to be run on multiple operating systems and have control over look and feel, Swing does not use native components as the GUI components, and this is likely causing the problem you're running into. Myself, I don't know of work-arounds for directly communicating with Swing GUI elements (and I'm not an AutoIt pro, but I do know Java and Swing pretty well), but if the Java/Swing code is yours, it's not that hard to integrate AutoIt with Java by other means.Hi, Would you mind post a simple example code to integrate AutoIt with Java?Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now