ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

fit screen script

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Rainier Raydán
fit screen script
on Jul 2, 2020 at 9:08:32 pm

Hi guys!

Anyone knows if it's possible to force the "fit" option in the "Magnification ratio popup" via scripting. If not, anyone know if I can execute a AE shorcut via scripting aswell ( I know the fit shortcut is "Shift + - ")

Thanks!

behance.net/raydanrainier


Return to posts index

Filip Vandueren
Re: fit screen script
on Jul 4, 2020 at 12:34:21 pm

Hi Rainier,

I'm not sure what you mean by "Magnification ratio popup"

But you can do this via scripting:

command_id = app.findMenuCommandId("Fit to Comp Width");
app.executeCommand(command_id);


To execute nearly everything that's accessible in the app's menu.



Return to posts index

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