WHICKED Posted August 17, 2009 Posted August 17, 2009 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
muzle6074 Posted August 18, 2009 Posted August 18, 2009 Are you sure AutoIt is an object orientated scripting language? I never seen these functions >_
WolfWorld Posted August 18, 2009 Posted August 18, 2009 (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 August 18, 2009 by athiwatc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
Juvigy Posted August 18, 2009 Posted August 18, 2009 Check out the help file for ObjCreate() functions. This is an excel object creation: $oExcel = ObjCreate("Excel.Application")
WolfWorld Posted August 18, 2009 Posted August 18, 2009 Check out the help file for ObjCreate() functions. This is an excel object creation: $oExcel = ObjCreate("Excel.Application") He's talking about OOPS not that. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets!
Juvigy Posted August 18, 2009 Posted August 18, 2009 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.
WHICKED Posted August 19, 2009 Author Posted August 19, 2009 @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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now