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.
Massimo Valle
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_______________________________________________
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>