Skip to main content
Participating Frequently
February 8, 2024
Answered

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

  • February 8, 2024
  • 1 reply
  • 500 views

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 has been closed for replies.
Correct answer eckiAMETeam

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.

1 reply

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.

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

Adobe Employee
February 8, 2024

Scroll down and open the addFileSequenceToBatch Example.