Instead of a .sdef
file (or older formats) made in advance and stored in an app’s bundle, I wonder if the script dictionary can be set soon after the app opens? I seen related API, with a note that the scripting file reader ultimately calls that API. I grok about 90% of that API, but I’m not sure it’s possible.
Can an app’s scripting dictionary be defined at runtime?
The scripting terms are used when compiling a script that targets the application. What are you trying to accomplish?
Historically it was possible for an app to handle the Get AETE event (kGetAETE
, or 'gdte'
) to return whatever custom terminology it wanted. It’s been a long time since I’ve seen anyone do anything like that, so I’ve no idea whether it still works.
I’m not aware of any up-to-date documentation on this, but I believe it was covered in Inside Macintosh: Interapplication Communication.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"