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

Re: Carbon-style AppleScript support in Cocoa


  • Subject: Re: Carbon-style AppleScript support in Cocoa
  • From: Frederick Cheung <email@hidden>
  • Date: Tue, 14 Dec 2004 12:00:53 +0000


On 14 Dec 2004, at 11:15, Fabian Lidman wrote:

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.

Is this really a problem? I have to do the same thing in my carbon application and http://developer.apple.com/documentation/MacOSX/Conceptual/ BPRuntimeConfig/Concepts/PListKeys.html doesn't seem to say that this key says anything other than applescript is supported.

Fred

_______________________________________________
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


References: 
 >Carbon-style AppleScript support in Cocoa (From: Fabian Lidman <email@hidden>)

  • Prev by Date: [ANN] Pasteboard Observer Application
  • Next by Date: Re: Parsing date strings with NSDate
  • Previous by thread: Carbon-style AppleScript support in Cocoa
  • Next by thread: [ANN] Pasteboard Observer Application
  • Index(es):
    • Date
    • Thread