Text IMP is a script for importing and updating text layers in Adobe After Effects from a JSON file or directly within the project. It provides a user-friendly interface for managing text layers, exporting them to JSON, and updating them based on external data. The code comments are in Russian, as well as the text of the buttons. However, you can easily request any LLM to translate it into your preferred language for personal use.
- Import text data from a JSON file.
- Export text layers from the project to a JSON file.
- Update text layers in the project based on imported JSON data.
- Filter layers to exclude those with expressions.
- Search for specific layers by name or content.
- Edit text layers directly from the interface.
- Focus on specific layers in the timeline.
- Edit JSON files using a Python-based GUI tool.
- Adobe After Effects with Legacy ExtendScript (JavaScript) support.
- Compatible with Windows and macOS.
- Python 3.x for the JSON editing tool.
- Download the script file
Text IMP v1.18.5.jsx
. - Place the file in a location accessible to Adobe After Effects.
- Open Adobe After Effects.
- Go to
File > Scripts > Run Script File...
and select the script. - (Optional) Install Python 3.x to use the JSON editing tool.
Run the script from the File > Scripts > Run Script File...
menu in Adobe After Effects. The user interface will appear.
The interface is divided into several panels:
- File Operations: Import/export JSON files and update text layers.
- Layer Management: View, filter, and search text layers.
- Text Editing: Edit the text of selected layers.
- Timeline Control: Adjust the timeline position for selected layers.
- Logging: View logs of operations performed.
- Click the "Выбрать файл" button in the "Работа с файлами" panel.
- Select a JSON file containing text data.
- The file name will appear, and the data will be loaded into the layer list.
- Click the ⬇ button in the "Работа с файлами" panel.
- Choose a location to save the JSON file.
- The script will export all text layers from the project to the file.
- Import a JSON file with updated text data.
- Click the "Обновить текст из файла" button.
- The script will update the text layers in the project based on the imported data.
- Filter Layers: Use the dropdown menu to show all layers or exclude those with expressions.
- Search Layers: Enter a search query to filter the layer list.
- Refresh Layer List: Click the "Обновить список слоёв" button to reload layers from the project.
- Select a layer from the list.
- Edit the text in the "Редактирование текста слоя" panel.
- Click the "Сохранить" button to apply changes.
- Select a layer from the list.
- Click the "Показать слой" button.
- The script will navigate to the layer in the timeline and make it visible.
- Начало слоя: Focus on the layer's in-point.
- Середина слоя: Focus on the middle of the layer.
- View logs of all operations in the "Логирование" panel.
- Click the "Очистить логи" button to clear the log.
- Run the Python script
IMP_JSON_GUI.py
using Python 3.x. - Use the GUI to open, edit, and save JSON files.
- Features of the Python tool:
- View compositions and layers in a tree structure.
- Edit text content of layers.
- Delete layers or compositions.
- Save changes back to the JSON file.
The JSON file should contain an array of objects with the following structure:
[
{
"compName": "Composition Name",
"layerIndex": 1,
"layerName": "Layer Name",
"text": "New Text Content"
}
]
- Error: "Слой не найден": Ensure the composition and layer index in the JSON file match the project.
- Error: "Ошибка парсинга JSON": Verify the JSON file is correctly formatted.
- Cannot update text: Check if the layer's "Source Text" property is editable.
Русскоязычная версия README доступна в файле # RU Text IMP v1.18
. Вы можете найти её в репозитории.
RawFungus
GitHub: https://github.com/RawFungus
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.