Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jul 29, 2023 Jul 29, 2023

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?

Effy29284397x5wn_0-1690659378087.pngexpand image

 

TOPICS
How to
268
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 31, 2023 Jul 31, 2023

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2023 Aug 31, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 01, 2023 Sep 01, 2023
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines