The AEJuice Fix Legacy Expressions script for After Effects automatically updates expressions in the project to work with After Effects v16 and higher.
Adobe introduced a new JavaScript Engine in After Effects v16 and it breaks a lot of expressions in the projects.
Learn more about it at https://helpx.adobe.com/after-effects/using/legacy-and-extend-script-engine.html
This script automatically fixes most incompatible legacy syntax so old expressions will work on both old and new After Effects. Here is the list of all the differences that the script fixes:
- if and else cannot be on the same line without brackets
- Expressions cannot end in a function declaration
- this() shorthand syntax is not allowed; use thisLayer() instead
- Snake case properties and methods are not allowed
- Source Text property array-index access to characters requires .value
Exceptions:
- ending an expression in an if statement without an else is not allowed – the script does not fix this difference because it works fine in newer After Effects
Please note that it’s not possible to fix all differences and the script only fixes what’s listed above.
Description
System Requirements
After Effects CC 2016, CC 2017, CC 2018, CC 2019, CC 2020, CC 2021, CC 2022 or higher.