ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Anybody know the Menu Command ID of "Scripting & Expressions..." Under Preferences Menu and Other Menus which have '&' Symbol in it?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Adirai Maji
Anybody know the Menu Command ID of "Scripting & Expressions..." Under Preferences Menu and Other Menus which have '&' Symbol in it?
on Dec 26, 2019 at 3:06:13 am
Last Edited By Adirai Maji on Dec 26, 2019 at 6:23:50 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


Return to posts index

Adirai Maji
Re: Anybody know the Menu Command ID of "Scripting & Expressions..." Under Preferences Menu and Other Menus which have '&' Symbol in it?
on Dec 27, 2019 at 5:01:09 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]