Re: is there a sample project for an AppleScriptable Cocoa app?
Re: is there a sample project for an AppleScriptable Cocoa app?
- Subject: Re: is there a sample project for an AppleScriptable Cocoa app?
- From: "email@hidden" <email@hidden>
- Date: Mon, 21 Feb 2005 09:34:22 -0800
I suggest getting a copy of Cocoa Programming for Mac OS X, 2nd ed. (Aaron
Hillegass). There is a very simple applescripted example and an
explanation. If you go to the book's web site you can download the
solutions to the examples in the book, too.
-Chris
On 2/21/05 9:15 AM, "Daniel Morrow" <email@hidden> wrote:
> 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
_______________________________________________
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