On 17 août 06, at 02:02 Matin, William Squires wrote:

I want my RB2006 app to handle more than just the NewDocument, OpenDocument, PrintDocument, and Quit AppleEvents. In the past, IIRC, one had to use ResEdit to add an 'AETE' (?) resource so that MacOS 8/9 could 'see' the AppleEvent dictionary for your app, but since OS X has pretty much deprecated the use of resource forks, what's the proper way to create and publish a custom AppleScript dictionary for my apps (MacOS X 10.4 compiled from RB2006r2 IDE also running in OS X)?

You have to create a ".sdef" file. For example, you can use "sdef editor", downloadable from internet to create such file.

You also have to set some flags in the "info.plist" file of your bundle (if you have a bundle, obviously). I don't recall these flags, but simply look into a bundle which has scripting support.

But, in my experience, I was never able to use that sdef (script editor told me that the app was not scriptable). I had to use the classic "aete" resources (which you can then export as a data-only file, which is another way).

Sorry, I can't be more precise. This is just if you don't receive another answer._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to