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

Application.batch() gives error while File->Automate->Batch does not

New Here ,
Mar 03, 2022 Mar 03, 2022

Copy link to clipboard

Copied

I am trying to run batch work on a a few files, but I get some "The command '___' is not currently available." on a few files when running Application.batch()  through a javascript (.jsx) script while I don't get these when running with the same settings from File->Automate->Batch.

 

Is this a bug? Any ideas what might be doing this?

 

Thank you

TOPICS
Actions and scripting , Windows

Views

140

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
LEGEND ,
Mar 03, 2022 Mar 03, 2022

Copy link to clipboard

Copied

First of all don't use Application. prefix.

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
New Here ,
Mar 03, 2022 Mar 03, 2022

Copy link to clipboard

Copied

well in my code, I'm using app.batch(). I was just referencing the method

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 ,
Mar 04, 2022 Mar 04, 2022

Copy link to clipboard

Copied

LATEST

I would record the run of the batch using scripting listener, then compare the recorded script code run to see if the same error is triggered when using action manager code vs. the standard JS reference object model code.

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