Skip to main content
Participant
Jul 29, 2023 7:36 PM UTC
Question

How to creating multiple outputs from one source via AME scripting?

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?

 

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participating Frequently
Jul 31, 2023 8:33 AM UTC

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

Translate
Participant
Sep 1, 2023 5:03 AM UTC

Is Adobe going to fix this, it is an important feature?

Translate
EckiAME
Community Manager
Community Manager
Sep 1, 2023 12:54 PM UTC

You can use this to create batch grouped exports:

exportGroup(sourcePath: string, outputPath: string, presetsPath: string, matchSource: bool = false): bool
: Export the source with the provided list of presets. Returns true in case of success.

Translate