Re: Applescript error - NSCannotCreateScriptCommandError
Re: Applescript error - NSCannotCreateScriptCommandError
- Subject: Re: Applescript error - NSCannotCreateScriptCommandError
- From: Steve Palmer <email@hidden>
- Date: Mon, 19 Jul 2004 16:08:56 -0700
Yes, I'm sure but the breakpoint on the code that returns the tasks
isn't being hit.
I guess that at this point I really need some better documentation or
more sample code. Specifically I'd like to know more about how
AppleScript resolves "set foo to name of current task" where "current
task" returns a Task object. Same for "set foo to every task". That
would help me fill in the gaps in my knowledge of how to support
AppleScript in a Cocoa application.
- Steve
On Jul 19, 2004, at 8:07am, Nick Zitzmann wrote:
On Jul 19, 2004, at 8:52 AM, Steve Palmer wrote:
I tried adding a tasks function that returned an NSArray but I just
got an NSInternalScriptError.
Are you sure it's returning an array? If the method is actually
returning nil, then that could cause a strange AppleScript error to be
raised.
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.