access and control application (AE) windows from a script
Posted: December 1st, 2012, 11:09 am
Hello,
i'm trying to (1:) access the Smoother window, (2:) set a value to smooth, and (3:) smooth a given set of layers properties;
all this from within a UI script. I'm stuck, and don't even know if it is possible.
The scripting guide doesn't mention other windows like the 'Smoother' or the 'Motion Sketch' palettes etc, and these windows do not appear in the AE Object model.
From reading Dan Ebbert's comments on the Cow forum, i know that:
does open/close the Smoother palette (and since app.findMenuCommandId("Smoother") = 5017, app.executeCommand(5017) does the same thing, language free).
But this doesnt help me much since it doesnt tell how to pass instruction to the Smoother window.
Any information about this welcome, even cruel ones (it can't be done etc...).
i'm trying to (1:) access the Smoother window, (2:) set a value to smooth, and (3:) smooth a given set of layers properties;
all this from within a UI script. I'm stuck, and don't even know if it is possible.
The scripting guide doesn't mention other windows like the 'Smoother' or the 'Motion Sketch' palettes etc, and these windows do not appear in the AE Object model.
From reading Dan Ebbert's comments on the Cow forum, i know that:
Code: Select all
app.executeCommand(app.findMenuCommandId("Smoother"));
But this doesnt help me much since it doesnt tell how to pass instruction to the Smoother window.
Any information about this welcome, even cruel ones (it can't be done etc...).