-
Get a specific menu command ID in various AE versions
Hello folks, I need your help!
I use the Convert Audio to Keyframes command in my script, but I’ve stumbled upon a strange and annoying thing. The corresponding command ID is changing unpredictably from one AE version to another. The most disappointing thing is that it changes even from one minor version to another. I’ve tested it in every AE version I could get my hands on. Also, I added IDs from the command IDs lists gathered by David Torno (thanks for your tremendous work David!).
Win 7 SP1 64-bit, CS6 (11.0.0.378), id = 5015
Win 7 SP1 64-bit, CC (12.1.0.168), id = 5014
Mac OS 10.8.5 64-bit, CC (12.2.1×5), id = 5014Mac OS 10.9.5 64-bit, CC 2014 (13.0×214), id = 5015
Win 7 SP1 64-bit, CC 2014 (13.2.0.49), id = 5015Mac (?), CC 2015 (13.5.0.347), id = 5018
Win 7 SP1 64-bit, CC 2015 (13.7.1.6), id = 5021
Mac OS 10.9.5 64-bit, CC 2015 (13.7.2×3), id = 5015It looks like starting from CC 2015 it begins to change unpredictably from one minor version to another, which really freaks me out.
I could run the command this way:
app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes"))
but it’s not an option since I need my script to work with other language versions of AE.The only possible solution I see is to gather the full list (as full as possible) of AE versions and the command IDs. This is why I ask for your help.
Could you run this code in your Script Editor to get the command ID (it will be shown in the JavaScript Console):
app.findMenuCommandId("Convert Audio to Keyframes")
Then please post your OS version, AE version and the command ID.I need your help badly, otherwise I’m stuck!
Thank you!
Sorry, there were no replies found.