Skip to main content
Participating Frequently
February 8, 2024
Answered

How to load an image sequence as source file in AME Scripting?

How to load an image sequence as source file in AME Scripting?

 

This does not work, what does it need as source?

var sourcePath = "filename.[0001-0010].png"
var encoderWrapper = frontend.addFileToBatch(sourcePath, format, presetsPath, outputPath);

 

This topic is closed to new replies. Start a new post to keep the conversation going.
eckiAMETeamCorrect answer
Adobe Employee
February 8, 2024

See https://ame-scripting.docsforadobe.dev/reference/index.html.

Under FrontendScriptObject, look for this item: addFileSequenceToBatch(containingFolder: string, imagePath: string, presetPath: string,outputPath: string = ""): bool.

5 replies

eckiAMETeamCorrect answer
Adobe Employee
February 8, 2024

See https://ame-scripting.docsforadobe.dev/reference/index.html.

Under FrontendScriptObject, look for this item: addFileSequenceToBatch(containingFolder: string, imagePath: string, presetPath: string,outputPath: string = ""): bool.

Translate
Participating Frequently
February 8, 2024

Thanks thats just it! How do I get the encoderWrapper of the newly added object? It only renturns a bool

Translate
Adobe Employee
February 8, 2024

Scroll down and open the addFileSequenceToBatch Example.

Translate