Using app.executeCommand() for New Solid Dialog Box
Posted: April 24th, 2011, 11:07 am
Hi,
I'm writing a little UI script for AE CS5 and I want to invoke the New Solid dialog box with the app.executeCommand() function.
Currently I'm finding the command ID using the line of code:
However the dialog box I'm presented with doesn't offer the Make Comp Size button (it's greyed out), and the resulting solid is not inserted into the open comp. On investigation I realised this was because there are two menu "Solid..." menu options and it's evaluating the wrong one first (File -> Import -> Solid...)
Does anyone know the correct command ID for the Layer -> New -> Solid...?
I'd prefer not to have to build the dialog box myself if I can help it!
Thanks,
Christian
I'm writing a little UI script for AE CS5 and I want to invoke the New Solid dialog box with the app.executeCommand() function.
Currently I'm finding the command ID using the line of code:
Code: Select all
app.executeCommand(app.findMenuCommandId("Solid..."));
Does anyone know the correct command ID for the Layer -> New -> Solid...?
I'd prefer not to have to build the dialog box myself if I can help it!
Thanks,
Christian