AE MOGRT - Add a script callback when changing a parameter
To improve MOGRT flexibility, it could be nice to have the possibility to run a script when an input parameter changes.
For exemple when user changes an input media (with media remplacement stuff..) the script could change the duration of a composition from the input media duration...

-
Frédéric CRETET commented
Hi Dacia,
The idea is to change the comp setting... duration, size...
and why-not move layers in/out points from the input media duration.
So to break the limitation of what we can't do with expressions compared to scripts.Thanks !
Fred
-
Hi Frédéric,
Thanks for the request.
Do you want the script to change the duration of the Primary comp that the layer the Media Replacement control is created from is in, like I decide to use a 10-second clip instead of a 5-second clip and I want that to change the comp settings?
Or do you want to change the duration of the comp that is created when you use Media Replacement in an Essential Properties workflow, and change the media via Essential Properties in the timeline?
Thanks,
Dacia