Build hundreds of After Effects comps from one spreadsheet.
compsFromSpreadsheet is a script for Adobe After Effects. Set up one or more template comps once, list your versions in a spreadsheet (a required COMP column names the template to be used for each row; not needed with a single comp), and the script builds a finished comp for every row, and puts the newly created comps in the render queue with your default render settings or render settings named in your spreadsheet.
Get compsFromSpreadsheet on aescripts.comWatch the quick tutorial
The video covers marking up a template comp, making the spreadsheet, and running the script.
How it works
- Mark up your template. Start a text layer's name with
^and it will receive text from your spreadsheet. Layers that start with#are replaced by a project item, layers that start with>are replaced by a file imported from a path in your spreadsheet, and precomps that start with!are filled in from the same row. - Make a spreadsheet. The first row holds column names. If more than one comp exists in your project, add a "COMP" column to hold the name of the template comp to be used. Every other row is one version. Save it as a tab-delimited text file.
- Press Run. If a spreadsheet column name exactly matches a template layer name, the script matches them automatically; otherwise you can match them from a dropdown menu. The script then creates a comp for each row and puts it in the render queue.
What it can do
- Replace text in your template layers with text from your spreadsheet
- Fill in a
^datelayer with today's date, in the format you choose - Swap layers for project items named in your spreadsheet
- Import files from paths in your spreadsheet, importing each file once however often it is used
- Fill in precomps from the same row of the spreadsheet
- Use several different template comps in one run: a required COMP column in the spreadsheet names the template to be used for each row (not needed with a single comp)
- Name each new comp by line number, by template name plus a number, or from a spreadsheet column
- Add the new comps to the render queue with the render settings, output module and folder you choose
- Split very large runs (200 versions or more) across several project files, and render them one after another
- Buttons that create target layers for you and show the path of a file to paste into your spreadsheet
- Change the symbols the script looks for, if
^,#and>don't suit you
Requirements
- Adobe After Effects, on macOS or Windows (see the product page for supported versions)
- Install the script in the ScriptUI Panels folder, restart After Effects, and open it from the Window menu
- In After Effects preferences, turn on Allow Scripts to Write Files and Access Network
- Your spreadsheet saved as a tab-delimited text file