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

Can't excute external vbs file using app.doScript after cc 2019 update!

Community Beginner ,
Oct 18, 2018 Oct 18, 2018

Copy link to clipboard

Copied

In the Indesign CC 2018, a well-running script is not running after CC 2019 update.

This task runs the vbs file using the app.doscript method and calls Acrobat folder level javascript.

app.doScript(File(app.activeScript.parent.fullName + "/execute_FolderLevel_javascript_optimizer.vbs"), ScriptLanguage.VISUAL_BASIC, arguments);

The following error message appears when excute!

2018-10-19.png

I've been struggling with this problem for three days already.

TOPICS
Scripting

Views

679

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
Participant ,
Oct 19, 2018 Oct 19, 2018

Copy link to clipboard

Copied

Acrobat had an update too perhaps there is a versioning issue with your script?

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 Beginner ,
Oct 21, 2018 Oct 21, 2018

Copy link to clipboard

Copied

Thanks your comment!

Benreyn!

Acrobat was earlier updated before the indesign update.

That script worked well when only Acrobat was updated.

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
Participant ,
Oct 22, 2018 Oct 22, 2018

Copy link to clipboard

Copied

LATEST

Can you provide the portion, if not the entire script, where it is throwing the error on the doScript? One of our third-party plugins just broke with the new InDesign update as well as I believe it is referencing an object that was renamed, or otherwise changed, in the 14.0 API of InDesign but since it is a jsxbin I do not know positively, just guessing by the error it is throwing.

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