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.
Another question below is a line from my [project name]ScriptingDefs.h file;
e_MasterPageFlip = 'eMpf',
In this case do I use 'eMpf' as the ID and 'e_MasterPageFlip' as the name?
What about the property/param ID's do they need to be registered?
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.
myMP.masterPageFlip() // ouch?
myMP.flipMasterPage() // better!
Europe, Middle East and Africa