• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
is there a sample project for an AppleScriptable Cocoa app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: is there a sample project for an AppleScriptable Cocoa app?
      • From: Don Briggs <email@hidden>
    • Re: is there a sample project for an AppleScriptable Cocoa app?
      • From: "email@hidden" <email@hidden>
    • Re: is there a sample project for an AppleScriptable Cocoa app?
      • From: daniel <email@hidden>
  • Prev by Date: Re: Selection and proxy objects...
  • Next by Date: Re: Outline View Query
  • Previous by thread: Re: setEventHandler not working! (AppleScript related)
  • Next by thread: Re: is there a sample project for an AppleScriptable Cocoa app?
  • Index(es):
    • Date
    • Thread