• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescript question: Creating objects without location specifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Accessing IB objects
  • Next by Date: Re: NSFileManager miscount
  • Previous by thread: Re: NSFileManager miscount
  • Next by thread: NSWorkspace getFileSystemInfoForPath:...
  • Index(es):
    • Date
    • Thread