Call Method Question
Call Method Question
- Subject: Call Method Question
- From: "jay" <email@hidden>
- Date: Thu, 31 Jul 2003 10:07:08 -0400
How do you call an objective c method of a class that I defined.
Here is my class:
@interface MyClass : NSObject
{
int aVariable;
}
- init;
- (void)doSomething;
@end
Here is my applescript code which returns the error "the variable var is not defined"
set var to call method "doSomething" of class "MyClass"
and I tried:
set var to call method "doSomething"
QUESTION 2 ---------------------------------------------------
In an objective c main file I would define an instance of MyClass like
MyClass *myclass;
Is there a way to do this in applescript so that I do not lose the variable values located in the instance of MyClass but rather keep the variables so I can store and use them throughout the program?
Thanks in advance,
-j
________________________________________________________________
Sent via the WebMail system at 1st.net
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.