Re: Applescript error - NSCannotCreateScriptCommandError
Re: Applescript error - NSCannotCreateScriptCommandError
- Subject: Re: Applescript error - NSCannotCreateScriptCommandError
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 8 Jul 2004 07:34:24 -0600
On Jul 8, 2004, at 7:21 AM, Steve Palmer wrote:
No. Is that important? None of the samples or tutorials that I've seen
mention it.
Yes. If you make an object accessible through AppleScript, then it must
implement -objectSpecifier or else you won't be able to use the object
as a script variable. For example, running "set theWidget to make new
widget at front of widgets" followed by "open theWidget" will end with
an error on that last line if -objectSpecifier is not implemented.
I'm not sure where this is documented, but I think you'll find more
information about -objectSpecifier by checking the archives.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
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.