Jump to content

Recommended Posts

Posted

maybe i'm missing the obvious, but what exactly does it do? enable AutoIt scripts to be run by JRE? or expose Java capabilities to be used by AutoIt?

Signature - my forum contributions:

  Reveal hidden contents

 

  • Moderators
Posted

wangzhengbo,

If you want to post about AutoItX, then please do so in the correct section of the forum. I have moved 2 of your threads this morning - I would rather not have to move a third. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted
  On 12/26/2013 at 7:47 AM, orbs said:

maybe i'm missing the obvious, but what exactly does it do? enable AutoIt scripts to be run by JRE? or expose Java capabilities to be used by AutoIt?

 

You can use

  Win.activate(title) or Win.activate(title, text) to active window in java,

and also

Win.getProcess(title) or Win.getProcess(title, text) to retrieve the process of the window,

Win.move(title), or Win.move(title, text) to move a window.

  Control.setText(title, controlId, controlText) to sets text of a control, etc.

Posted

so my script is able to handle Java app as any normal window? that looks pretty cool! i tried in the past to automate a Java app, and practically spit sweat over it... is it too bold of me to ask for a brief how-to setup? what file(s) to download and where do they go, what needs to be installed (if at all), etc.

Signature - my forum contributions:

  Reveal hidden contents

 

Posted
  On 12/26/2013 at 9:12 AM, orbs said:

so my script is able to handle Java app as any normal window? that looks pretty cool! i tried in the past to automate a Java app, and practically spit sweat over it... is it too bold of me to ask for a brief how-to setup? what file(s) to download and where do they go, what needs to be installed (if at all), etc.

Download JAutoItX-3.3.8.1-1.0.0-alpha.jar from http://code.google.com/p/jautoitx/downloads/list

and add all dependent libs:

commons-collections-3.2.1.jar
commons-io-2.4.jar
commons-lang3-3.1.jar
log4j-1.2.17.jar
jna-4.0.0.jar
jna-platform-4.0.0.jar
 
to your classpath.
 
They are included in JAutoItX-3.3.8.1-1.0.0-alpha-all.jar.
Posted
  On 12/26/2013 at 6:19 PM, Richard Robertson said:

Orbs, this is just a wrapper for AutoItX, which is a COM/dll wrapper for a small handful of AutoIt functions. It does not add the ability to run scripts and it doesn't allow you to automate windows you couldn't before.

 

thanks, i just now realized that. still i hope it would be useful at some point.

Signature - my forum contributions:

  Reveal hidden contents

 

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...