Le 13 janv. 07 à 21:54 Soir, Massimo Valle a écrit:

On 13/gen/07, at 20:02, Arnaud Nicolet wrote:


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.

I think it's also required to set NSAppleScriptEnabled = true into the Info.plist file of the application. While I never tried the ScriptSuite method, the Info.plist setting could be the key to success. However, even with the aete method, it's suggested you set the value in Info.plist. In my experience, the lack of the Info.plist setting prevent ScriptEditor to open the application dictionary. But the application still remain scriptable.

Thank you.

I wonder: what is a scriptable application that ScriptEditor cannot 
use?_______________________________________________
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