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

app.newDoc(10, 10) produces 'Acrobat can't open this file because a task is still active...' error

Explorer ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

Hi all.

I have a old script that I have renewed changing some app.response() with a custom popup dialog (or GUI). It recopiles 3 data types and works with it, creating new docs and reordering original PDF's pages in some ways. But in the GUI version, the app.newDoc() instruccions return this error. In some functions I use file_name.extractPages() and it works perfectly.

I close the GUI with dialog.end() before to call any function in the ok: function(dialog) division.

I'm using Acrobat XI in a Windows 10 system.

 

Any idea will be welcome.

Thanks in advance!

Jose

TOPICS
JavaScript

Views

158

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
no replies

Have something to add?

Join the conversation