Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions app.executeCommand() for 100% Zoom

  • Andrei Popa

    August 10, 2017 at 9:51 am

    I’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

  • Ilya Sire

    August 10, 2017 at 9:54 am

    Ah i see, thank you for the link, will check that.

  • Xavier Gomez

    August 11, 2017 at 5:41 pm

    You 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

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