Skip to main content
Jeremias Meister - Tools & Pipeline

Action Scripting

Write Script

Creates a script string by replacing placeholders in a template with provided variables, formatted for the selected language.

Node IDWriteScriptAction

Parameters

ParameterTypeRequiredDefaultDescription
Script Language language enum
  • Python
  • Bash
  • Batch
Yes Python The target scripting language. Determines placeholder syntax.
Variables variables array_object Yes — Key-value pairs of variables to inject. Each object needs 'fromKey' (string) and 'toKey' (any JSON value).
Script Template template textarea Yes — The script content with placeholders. Use $varname or ${varname} for Python/Bash, %varname% for Batch. A $varname name ends at the first character that is not an ASCII letter, digit or underscore, so $name does not match inside $name_long; to put text directly after a value, write ${name}_long. Inserted values are not searched for further placeholders, a placeholder with no matching variable is left as written, and if a variable is listed more than once the first entry is used.

Inputs

InputTypeRequiredDescription
Execute input0 object Yes Triggers the script generation.

Outputs

OutputTypeIdentifierDescription
On Success output0 object scriptContent Fires on success. Data contains the generated script as a string.