Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Anybody know the Menu Command ID of “Scripting & Expressions…” Under Preferences Menu and Other Menus which have ‘&’ Symbol in it?

  • Anybody know the Menu Command ID of “Scripting & Expressions…” Under Preferences Menu and Other Menus which have ‘&’ Symbol in it?

    Posted by Adirai Maji on December 26, 2019 at 3:06 am

    I’ve tried app.findMenuCommandId(“Scripting & Expressions…”) It returns 0.

    Anybody know it’s ID for executeCommand?
    I just realized the app.findMenuCommandId returns 0 for every menu which have ‘&’ symbol in it. How we can get that ID of any menu?
    ==================================================================================================
    Thanks in Advance…

    – Adirai Maji

    Adirai Maji replied 6 years, 4 months ago 1 Member · 1 Reply
  • 1 Reply
  • Adirai Maji

    December 27, 2019 at 5:01 pm

    I’ve realized we can directly access the menus. Reason it doesn’t return numbers for “Media & Disk Cache” Is the & symbol.

    Here’s what I did. I just removed the & symbol inside CommandId. (Which leaves two [Spaces between Media and Disk] ) It actually returned value 3131. So now I executed this number inside app.executeCommand();

    app.findMenuCommandId(“Scripting Expressions…”)

    ==================================================================================================
    Thanks in Advance…

    – Adirai Maji

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