![]() ![]() With each new version of AE, there also brings new ID’s and in some cases the same menu command might have a different ID in each AE version. In addition this, not all menu commands are available too, some commands don’t have an ID assigned. The ID only works for one of them, and the only way to find out is to launch and see what happens. We can only input the one “File…” and not have any control over which one it is. Problem is, if you wanted to launch “Import” > “File…”, there happens to also be “Composition” > “Save Frame As” > “File…”. The text inside the parenthesis is the menu command name as you see it in the menu drop down. Now for us to be able to launch a menu command we first get it’s ID via… So barring the stability issue, there are other limitations, like duplicate menu names. ![]() Regardless, the option exists and people like to use it. I personally believe this system was implemented for the AE team to do testing and was never removed from ExtendScript, but that’s purely speculation on my part. Sometimes it works, sometimes it can cause issues, or even an application crash. The biggest reason, and a very valid one is the stability of it. Now there are many conversations talking about the risks of running code like this. For ExtendScript coders, we can use the assigned ID for “General…” to launch the same panel via scripting. This would take you to a popup of the After Effects preference panel with the “General…” tab selected. So say you as a user were to click on “File” > “Preferences” > “General…”. They are for running things smoother behind the scenes on the coding end. This value means nothing to the user as they never see these values or never have any need to. So what are these ID’s? Well they basically are a numerical value assigned to a menu command. Being the mad man that I am from time to time, I actually hand typed all of the CC menu names out over the last few days, then processed them via a custom script to then pipe them through a loop to acquire each ID number. Only one pdf list for CS3 posted on Sundstedt Animation exists that I know of. This has been a daunting task as there really is no full list, or easy way to obtain all the number’s being used (to my knowledge at least). This post in specific ( Adobe Scripting Forum) sparked the motivation to make a new pdf. Some compare the numbers against the text version of a menu command, while other’s are looking to decode what numbers go to which command. So for awhile now, many After Effects community members have been using After Effects menu command id’s in their ExtendScript scripts. Largest list of Command ID’s available for After Effects.ĪECC2014_MenuIDs_v2_0.pdf (70+ additions and fixes) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |