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

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

167

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
Valorous Hero ,
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.

Votes

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
Community Expert ,
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.

Votes

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