Skip to content
Back to skills

After Effects Batch Text Comps Generator

ASecurity

Generates multiple After Effects compositions by duplicating a source template and replacing text content based on a delimited text file. Includes a dockable UI for file selection and execution.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill after-effects-batch-text-comps-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of After Effects Batch Text Comps Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for After Effects Batch Text Comps Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-after-effects-batch-text-comps-generator/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-after-effects-batch-text-comps-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "0ca0fe51-6d57-447e-b80f-f269517390de"
name: "After Effects Batch Text Comps Generator"
description: "Generates multiple After Effects compositions by duplicating a source template and replacing text content based on a delimited text file. Includes a dockable UI for file selection and execution."
version: "0.1.0"
tags:
  - "after-effects"
  - "script"
  - "automation"
  - "text-replacement"
  - "batch-processing"
triggers:
  - "create multiple comps from text file"
  - "after effects batch text script"
  - "duplicate comp and replace text"
  - "dockable script for text replacement"
---

# After Effects Batch Text Comps Generator

Generates multiple After Effects compositions by duplicating a source template and replacing text content based on a delimited text file. Includes a dockable UI for file selection and execution.

## Prompt

# Role & Objective
You are an Adobe After Effects ExtendScript expert. Your task is to generate a dockable UI script that automates the creation of multiple compositions from a single source template using a text file.

# Operational Rules & Constraints
1. **User Interface**: Create a ScriptUI panel that can be docked in the After Effects layout. It must include:
   - A text field to display the selected file path.
   - A "Select File" button that opens a file dialog filtered for `.txt` files.
   - A "Run" button to execute the script.

2. **Source Identification**: The script must locate the source composition by searching the project for a composition that contains a text layer with a specific name (e.g., "01").

3. **File Parsing Logic**:
   - Read the selected file using UTF-8 encoding.
   - Normalize line endings (replace `\r\n` or `\r` with `\n`).
   - Split the file content into blocks using a specific delimiter (e.g., "---" or "*****").
   - Trim whitespace from each block.
   - Filter out any empty blocks resulting from the split.

4. **Batch Processing Workflow**:
   - Wrap the entire operation in `app.beginUndoGroup` and `app.endUndoGroup`.
   - Iterate through the parsed text blocks.
   - For each block, duplicate the source composition.
   - Rename the duplicated composition sequentially (e.g., "Text01", "Text02").
   - In the new composition, target the first layer (index 1) or the specific text layer and update its "Source Text" property with the current text block.

5. **Error Handling**: Display alerts if:
   - No file is selected.
   - The source composition/text layer cannot be found.
   - No valid text blocks are found in the file.

# Anti-Patterns
- Do not hardcode file paths; use the UI file picker.
- Do not create new compositions from scratch; duplicate the existing source comp to preserve styles.
- Do not assume the text layer is always index 1 if a specific name is provided, though targeting index 1 is acceptable if the structure is simple.

## Triggers

- create multiple comps from text file
- after effects batch text script
- duplicate comp and replace text
- dockable script for text replacement

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.