Activity › Forums › Adobe After Effects Expressions › app.executeCommand() for 100% Zoom
-
app.executeCommand() for 100% Zoom
Posted by Ilya Sire on August 10, 2017 at 8:33 amHi forum,
What is the code app.executeCommand() for 100% zoom, or key “/”.
Anyone can help?
Thank youXavier Gomez replied 8 years, 9 months ago 3 Members · 3 Replies -
3 Replies
-
Andrei Popa
August 10, 2017 at 9:51 amI’m not 100% sure about this but i think the app.executeCommant() is for menu command only. David Torno has put out this massive list of commands id, but i do not think there is a reset zoom.
Andrei
-
Xavier Gomez
August 11, 2017 at 5:41 pmYou can do it without a menu command, using the viewer object:
if (app.activeViewer) app.activeViewer.views[0].options.zoom = 1.0;(it can’t be used to “Fit up to 100%” though, only absolute values).
Xavier
Reply to this Discussion! Login or Sign Up