Jump to content
Sign in to follow this  

creating objects in AutoIt?

Recommended Posts


I've been going over the help file a lot trying to find a way to do this.

I want to declare an object class in AutoIt, like the ones that I manipulate with COM.

It would be something like the way it is in C, e.g.

class meeting


int startTime;

int endTime;

string topic;

void invite();

void cancel();


So far it seems like the only way to do this in AutoIt is to make a multidimensional array where each element corresponds to a property or method, and ReDim it every time I want to add another object. This is a big problem because every time I want to change the data structure I have to make a bunch of little changes throughout the program, because I have to change the size of the array and the order of objects in it.

Does AutoIt have a way to do this? Or is there a way that I can declare a class in some other language and then use COM or something to access that library? don't know if that makes any sense, just grasping at straws here.

Share this post

Link to post
Share on other sites

This might be what your looking for Hooking into the IDispatch interface

GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.

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