Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Get a specific menu command ID in various AE versions

  • Get a specific menu command ID in various AE versions

    Posted by Konstantin Nemo on November 18, 2016 at 1:30 pm

    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 = 5014

    Mac 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 = 5015

    Mac (?), 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 = 5015

    It 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!

    Konstantin Nemo replied 9 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy