• 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
Carbon-style AppleScript support in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Carbon-style AppleScript support in Cocoa


  • Subject: Carbon-style AppleScript support in Cocoa
  • From: Fabian Lidman <email@hidden>
  • Date: Tue, 14 Dec 2004 12:15:17 +0100

Hello,
Q: What is the correct procedure to let the OS know that a Cocoa application is scriptable using an aete resource?


I'm trying to implement basic AppleScript support in my Cocoa application. I am using the NSAppleEventManager class to handle events, because the features i want are not suitable for the "new" (Cocoa) way of doing apple events. I have created an aete resource (in the datafork of a resource file with the correct name and location) which defines the script terminology supported by the application. However, Script Editor does not see it. If i set the NSAppleScriptSupported flag to YES in info.plist, i am only able to see the standard Cocoa suites. Otherwise, Script Editor will not allow me to look at the application at all.

Cheers,
Fabl

_______________________________________________
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: Carbon-style AppleScript support in Cocoa
      • From: Frederick Cheung <email@hidden>
  • Prev by Date: Context menu target won't work in modal panel
  • Next by Date: Re: Parsing date strings with NSDate
  • Previous by thread: Context menu target won't work in modal panel
  • Next by thread: Re: Carbon-style AppleScript support in Cocoa
  • Index(es):
    • Date
    • Thread