Jump to content

Recommended Posts

Posted

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.

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