Jump to content
Sign in to follow this  
Smithwick

Autoit and Object Rexx

Recommended Posts

Smithwick

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

Share this post


Link to post
Share on other sites
MHz

#include does not exist for AutoItX,dll :) Rexx include code...

Share this post


Link to post
Share on other sites
Smithwick

After a little research, I see the OLE functions list is limited. Not all Autoit functions are available.

Oh well...

Share this post


Link to post
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
Sign in to follow this  

×