CompaToon
Trace: • Production cases • Regular expressions • Prepare the backgrounds • Photoshop actions

Photoshop actions

Actions available in the action table of Photoshop tasks (Assembly and Transform).
Each line of the table = one action; the following columns = its parameters, in the order shown.

  • Layers inside folders are written Folder1/Folder2/MyLayer.
  • Lists marked [RegExp] accept regular expressions.
  • prof / depth = search depth in folders (99 = everything).

Layers

Action Parameters Effect
Set Text Layer Layer Path; Text (%) Changes the text of a text layer. Accepts variables.
Rename Layer RegExp; Result; depth Renames layers or folders. Prefix the RegExp with ! for a partial match (otherwise it applies to the whole name).
Show/Hide Layers List of Layers [RegExp]; true/false; prof Shows or hides layers or folders, recursively.
Remove Layers List of Layers [RegExp] Deletes the matching layers.
Remove Layers From List layer1,layer2,… Deletes the listed layers.
Remove Hidden Layers Exclusion list [RegExp] Deletes all hidden layers, except those in the list.
Remove Empty Layers – Deletes empty layers.
Set Opacity In Layers folders; opacity; prof Applies an opacity to the content of the folders found.
Bake Opacity In Layers – Bakes the opacity (and masks): the layer goes to 100% while keeping its appearance; the original opacity is added to its name if needed.

Examples

  • Replace spaces with _: Rename Layer with ![ ] and _.
  • Hide everything: Show/Hide Layers with .*, false, 99.
  • Hide the reference layers: Show/Hide Layers with REF_.*, false.

Folders

Action Parameters Effect
Rename Folder RegExp; Result; depth Renames folders.
Remove Folders List of Folders [RegExp] Deletes the folders and their content.
Remove Hidden Folders Exclusion list [RegExp] Deletes hidden folders, except those in the list.
Remove Empty Folders – Deletes empty folders.
Extract Folder Content Folder Name Replaces the folder with its content, then deletes the folder.
Show/Hide Folder Content folder name; true/false; prof Shows or hides the whole content of the folders with this name.

Document

Action Parameters Effect
Resize Document Width; Height Resizes the document.
Crop Document – Crops the document.
Export Document FileName (png/jpg) Exports a flattened image.
Check - Document Resolution comparison; width; height; mode Checks the resolution and writes the result to the Log (see below).


Example: Export Document.

Check - Document Resolution:

  • comparison: <, = or >;
  • width / height: expected values in pixels (0 = ignored);
  • mode: and (both must be true) or or (one is enough).

See also

  • Transform Photoshop task
  • PSD Conformation: simplify a background in a single task
Previous Next

Site Tools

  • Media Manager
  • Sitemap

Page Tools

  • Export to PDF
  • Fold/unfold all
  • Back to top

User Tools

  • Log In
en/compatoon/manuals/toonbox/v2/reference/actions_photoshop.txt · Last modified: 2026/12/02 16:15 by twinstef
CompaToon

Table of Contents

Table of Contents

  • Photoshop actions
    • Layers
    • Folders
    • Document
    • See also

Translations of this page:
  • fr
  • en

ToonBox

  • Documentation home

Getting started

  • Installation
  • Jobs and Tasks
  • The interface
  • First Job
  • Configure the software
  • Videos

I want to…

  • Create the scenes
  • Prepare the backgrounds
  • Export for compositing
  • Generate movies
  • Make a rough cut
  • Modify scenes
  • Tracker (Kitsu / ShotGrid)
  • Manage files

Reference

  • All tasks
  • % Variables
  • HyperCrop
  • Regular expressions
  • BDL format
  • Matching Table
  • Libraries
  • Action table
  • FFmpeg
  • Glossary

Help

  • Known issues
  • FAQ
  • What's new
  • Production cases

Other tools

  • ToonBox AE Plugin
  • ToonBrowser
  • ToonExpo