Applescript question: Creating objects without location specifier
Applescript question: Creating objects without location specifier
- Subject: Applescript question: Creating objects without location specifier
- From: email@hidden
- Date: Tue, 11 Mar 2003 10:54:43 -0800 (PST)
Hi,
I am trying to create an object of my class (superclass =
NSCoreSuite.AbstractObject) without having to specify a location, i.e. i just
want to do:
tell application "MyApp"
make new foo
end tell
where foo is the name of my class in the scriptTerminology.
The above script almost works in the sense that I can see that a new instance of
my class is being created, but the script is still generating an error about
wrong arguments.
I tried specifying LocationRequiredToCreate=NO in my ToManyRelationships, but
that did not work.
Can anyone give me pointers?
Thanks
Ujwal
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.