Skip to main content
Inspiring
March 29, 2021
Question

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

  • March 29, 2021
  • 0 replies
  • 279 views

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

This topic has been closed for replies.