Le 13 janv. 07 à 17:31 Soir, Bastian Bense a écrit:

Hello folks,

I tried to find some relevant information about this in the archives
and on Google, but it seems that nobody ever had this problem.

What I am trying to do is to make my application (made with RB 2007r1)
scriptable. Handling AppleEvents is one thing, the other thing is to
make the application's AppleScript dictionary readable by the Script
Editor.

I stumbled across a few hints, like creating a .scriptSuite and
.scriptTerminology file and enabling AppleScriptability in the .plist
file. However, it seems to be impossible to make Script Editor
find/recognize the application's dictionary.

Had someone out there success with making your application scriptable
and Script Editor recognize the dictionary?

If yes, how did you do so? Is there a guide or could you provide one?

There are 2 ways of creating those dictionaries:

-Add an 'aete' resource to your app. Using ResEdit, you can get an 'aete' editor which shows the value in non-hexadecimal values. This method works in both Mac OS 9 and Mac OS X.

-Use a ScriptSuite file. This method is supposed to work only on Mac OS X. I say "supposed" because I never had it working. I've tried many times with the same problem you describe (ScriptEditor doesn't find the dictionary). So I felt back on the first method (the 'aete' resource).

According to my experience, my answer is that an "aete" resource always works._______________________________________________
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