Run Action Batch Command with parameter

Community Beginner ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

How to run action Batch command using Javscript by passing Source and Destination parameter

TOPICS
Scripting

Views

56

Likes

Translate

Translate

Report

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 Community Professional ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

To my knowledge this is only possible via external os-level scripting languages such as AHK, or VBS or AppleScript.

The good news is that it appears to be possible to at least set some of the Batch Process parameters by setting preferences.

It may be possible to set the needed items via script by setting the preferences and having the Batch Process dialog be pre-populated with data. However, there's still the matter of sending the Enter key to the dialog to launch it, hence the need for a scripting language that is able to send keys.

Likes

Translate

Translate

Report

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 Community Professional ,
Feb 18, 2021 Feb 18, 2021

Copy link to clipboard

Copied

LATEST

If I understand you right.

 

One possible way:

create a *.txt file with source and destination parameter and read the contents of this file with Javascript.

Likes

Translate

Translate

Report

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