Jump to content

Recommended Posts

Posted

Hello,

I have an application which I am trying to automate the GUI. I have tried using the Au3Info tool, however it provides me with no control information what so ever. The Au3Info tool only provides the window name and the class name (SunAwtFrame). I then found out that it is a Java application and found Java UDF thread after some digging around. I then installed the Java access bridge and tried using the Java Ferret. This didn't provide me with anything either. After trying some of the examples I was able to confirm that the Java Ferret does work.

Does anyone know of another way to obtain window controls or have any suggestions for me?

Posted

I guess the method you described is the only one for controlling Java apps.

Other than using MouseClick(), of course, which works very well for simple tasks.

Posted

I need this automation to be quite reliable (for television broadcast), using mouseclicks would worry me. I am trying to automate a playback feature on a video server. I need it to play video at certain times of the day or night when no one is around. I was initially surprised that the playback feature did not support some sort of playlist and scheduling capability so this is why I am trying to automate.

Thanks for the response.

Posted

I see. Just a short personal "report". I've been using some scripts for quite a long time on my video PC, too, which is basically a PVR and a streaming server. Some applications on that machine are also Java-based. As long as you make sure the Java application is the active window before sending MouseClick(), I think you won't have to get too nervous about reliability, at least not on a PC which usually isn't touched by users changing active windows manually.

But of course it's different if you have to fill out controls which would require text input or the like.

regards,

Mike

Posted

Thanks for the help, I guess I will try using mouse clicks. I will just have to do some extensive testing to make myself feel better about it.

Posted

Ok, wish you success then. For the intended purpose, I suppose extensive testing will be reqired using _any_ method to make yourself feel good. :D

Regards,

Mike

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
  • Recently Browsing   0 members

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