is there a sample project for an AppleScriptable Cocoa app?
is there a sample project for an AppleScriptable Cocoa app?
- Subject: is there a sample project for an AppleScriptable Cocoa app?
- From: Daniel Morrow <email@hidden>
- Date: Mon, 21 Feb 2005 12:15:13 -0500
I can't seem to make my app scriptable, no matter what I try, and no
matter how many docs I read. It's gotten incredibly frustrating.
(I've done this in the Carbon world, btw, and I'm starting to think
that not everything is easier in Cocoa, so please prove me wrong)
Anyway, I've created "scriptSuite" and"scriptTerminology" files, and
the Script Editor doesn't recognize my app. I've also tried putting the
script definitions into an old-school 'aete' resource. "Script Editor"
does now recognize the app, and I can see my app's dictionary, but then
when I run the script, my event-handler never gets called, and an error
is returned to the Script Editor, which is useless.
So, if there is a small Cocoa-based app which implements one or two
AppleEvents, I'd be really happy to take a look at it.
Thanks,
-Dan.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden