Copy link to clipboard
Copied
Hi,
I am trying to add one source file into batch with multiple presets and multiple outputs.
I can do that via the UI by either duplicating the render, or go to 'File > Add Output".
I am currently using addFileToBatch but it can only add a task with one preset and one outputs.
addFileToBatch(filePath: string, format: string, presetPath: string, outputPath:
string = ""): scripting object : Adds a file to the batch and returns an EncoderWrapper object.
Is it a way to achieve this in scripting?
Copy link to clipboard
Copied
Hi,
it is not possible to create an batch item with multiple outputs via scripting API.
You have to create multiple items each with a single output.
Best regards,
H. Hahn
Copy link to clipboard
Copied
Is Adobe going to fix this, it is an important feature?
Copy link to clipboard
Copied
You can use this to create batch grouped exports:
: Export the source with the provided list of presets. Returns true in case of success.
exportGroup(sourcePath: string, outputPath: string, presetsPath: string, matchSource: bool = false): bool