Jump to content

AutoIT and Java Swing control


 Share

Recommended Posts

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 by Streaky77
Link to comment
Share on other sites

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 by Fubarable
Link to comment
Share on other sites

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

  • 1 month later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...