Jump to content

Autoit and Object Rexx


Smithwick
 Share

Recommended Posts

I use Object Rexx and I call Autoit for some function. Example:

title = 'My Window'

x = 100

y = 300

AX=.OleObject~new("AutoItX3.Control") /* Start autoit */

AX~WinWaitActive(title,"")

AX~MouseClick('left',x,y)

AX~Send("^a")

AX~Send("^c")

This works fine.

I would like to use some of the GUI functons, but the "#include" has me stumped. I don't have any idea how to do this in Object Rexx. Without it, all calls to the functions fail. Anyone have any ideas or examples?

Garry Smithwick

smithwick@tds.net

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