Carbon-style AppleScript support in Cocoa
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