Jump to content

Recommended Posts

Posted

Hello everyone,

I have not used Autoit in awhile and forgot how to create an object in Autoit.

When I talk about an Object I mean a data structure that contains information that can be extracted through the use of getters and setters.

Such as:

Object blah = new Object(var1, var2, etc...)

func createObject($var1, $var2, $var3, ....)

$var1 = var1

$var2 = var2

$var3 = var3

EndFunc

func getvar1()

MsgBox(0,"",$var1)

EndFunc

Posted (edited)

He's just telling us that he knows how to use object.

This is what most noob do. Right?

When I talk about an Object I mean a data structure that contains information that can be extracted through the use of getters and setters.

May I ask? You are creating an object from a Method(function), is object suppose to be create from a class, dude you fail.

And for others. There is no object in Autoit.

*language

Edited by athiwatc
Posted

Check out the help file for ObjCreate() functions.

This is an excel object creation:

$oExcel = ObjCreate("Excel.Application")
Posted

Ah , i see. I dont think you can define objects in AutoIT. You can however use and reference already defined objects like the excel example above.

Posted

@athiwatc: Jeez man, it was a simple question. Since I now know that AutoIt can not perform the intended operation. Then my question is void. And further more, get a life other than being ignorant and rude to people that are asking a question. Since this is a OPEN SOURCE OPEN COMMUNITY forum and software distribution, anyone has the right to ask a question, even if you deem it ridiculous, your opinion is one of the MANY members that actually SUPPORT this community. Do yourself a favor, read the EULA again.

@Everyone else: Thanks for the responses.

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