Applescript in Cocoa - problem with custom command
Applescript in Cocoa - problem with custom command
- Subject: Applescript in Cocoa - problem with custom command
- From: Keo Darksbane <email@hidden>
- Date: Mon, 15 Sep 2003 13:13:11 -0700 (PDT)
Hi all...
After reading Apple's abyssmal documentation
on Applescript-Cocoa integration, and searching the
web for tutorials, I've come down to the wall.
I have set up my script suite, created what I think is
a new command, and wrote a test script. Now every time
I run it I get an NSCannotCreateScriptCommandError,
even after trying extensive variations.
I followed the advice of a previous poster on this
list and created a subclass of NSScriptCommand called
TypeInCommand, specified it as my custom command's
superclass, and erased the SupportedCommands section
from my class in the .scriptSuite. Same error.
Anyone have suggestions or, even better, explanations
of how this horrible hack called Cocoa-Applescript
integration is supposed to work?
Thanks!
-Nathan Keeney
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.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.