Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript error - NSCannotCreateScriptCommandError



No. Is that important? None of the samples or tutorials that I've seen mention it.

Are there any really good examples of integrated AppleScript support. The Sketch tutorial has no documentation beyond the source and Apple's own documentation is geared toward reference than actually being a tutorial?

- Steve



On Jul 8, 2004, at 1:24am, Nick Zitzmann wrote:

On Jul 7, 2004, at 3:50 PM, Steve Palmer wrote:

set foo to name of current task

where 'name' is a get method on a task object and 'current task' is a
task object returned by the NSApplication delegate, I'm getting:

2004-07-07 14:41:55.653 Vienna[2183] Error converting apple event to
script command: 10 "NSCannotCreateScriptCommandError"

Unfortunately the source is too long to post here so my question is:
what does this error actually mean?

Does your NSApplication delegate class have an implementation of -objectSpecifier?

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.


- Steve
_______________________________________________
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.


References: 
 >Applescript error - NSCannotCreateScriptCommandError (From: Steve Palmer <email@hidden>)
 >Re: Applescript error - NSCannotCreateScriptCommandError (From: Nick Zitzmann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.