Sign in to follow this  
Followers 0
cappy2112

How to access Gui functions from AutoItX

6 posts in this topic

I want to call GUICreate() and other GUIxxx functions from COM, but these are not listed inthe AutoItX help file.

Does this mean they are not available thru COM?

Share this post


Link to post
Share on other sites



Correct. The GUI functions are not available in the COM version of AutoIt because any language that loads the COM component should have it's own GUI functions.

Share this post


Link to post
Share on other sites

Correct. The GUI functions are not available in the COM version of AutoIt because any language that loads the COM component should have it's own GUI functions.

Thanks Robert. That's a very disappointing and unusual answer.

The COM component is there to provide client control for AutoIt. Autoit is intended to provide automation functionality.

If the client must provide the functionality that was already provided in Autoit, then there's no need for Autoit. Why re-write the code when it's already there, and just needs to be exposed.

Share this post


Link to post
Share on other sites

Why limiting ourselves? Vbscript does not have GUI and I am still looking for one. Autoit has one but it is not exposed. Very disappointing indeed.

Share this post


Link to post
Share on other sites

Please read. My name is Richard.

And we aren't limiting ourselves. That code isn't there to be exposed. AutoItX is a completely separate module that was not compiled from the original AutoIt source. It had to be modified to fit the COM specifications. The GUI functions are not there. If you must have GUIs, call the native functions and do it yourself.

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  
Followers 0