Adobe requires that we register script ID name pairs.
I'm uncertain about what exactly they are wanting. Does this only apply to new scriptable objects added or does this also apply to new script events/elements added to existing object in the API.
Any clarification or directions to more explicit docs is appreciated.
Thanks Mike
The e_Whatever is just a constant name so you need not type the four character code within your sources.
It makes sense to name it similar to the registered name, just omit the "e_" prefix, use spaces and lowercase (except for acronyms).
I usually add a comment with the registered string.
The scripting engine will format the string (as stored in your ScriptInfo resource) to the language's conventions.
Try them out before you register, e.g. see ESTK object model viewer and AppleScript dictionary!
e_MasterPageFlip = 'eMpf', // "master page flip"
Btw, this sounds more like a noun, better use a verb phrase for methods.
Javascript:
myMP.masterPageFlip() // ouch?
myMP.flipMasterPage() // better!
Dirk
North America
Europe, Middle East and Africa
Asia Pacific