Skip to main content
Known Participant
February 19, 2021
Question

Action Wizard Close file

  • February 19, 2021
  • 1 reply
  • 1926 views

Sorry if this has been addressed, but couldn't find anything in search.
Acrobat DC downloaded yeaterday.
I created an action that is performed on all files in a folder.
Even if no file is open when I run this action, the last file to be proccessed is left open.
I am not seeing a way to close though a menu item, and do not know enough about JS to write it correctly.
Tried adding this as a final step - this.closeDoc(true) - but that closes Acrobat, and when I reopen it gives a message about it closing 'abruptly'.

Any help is appreciated!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 19, 2021

It's a bug in Acrobat DC. We've reported it from day one (and even before that), and yet it hasn't been fixed so far...

You have to close that file manually when the Action completes.

Kevin5CA8Author
Known Participant
February 19, 2021

Damn, and here I thoguht I was going to be happy getting away from all the bugs in AcrobatX...
So is there not a simple little bit of JS I could execute at the end to close it?

try67
Community Expert
Community Expert
February 19, 2021

No. The one you found is it, and as you saw, it causes issues.

And Acrobat X, with all of its issues, was miles better (IMO) than Acrobat DC, at least when it comes to Actions. More robust (files were processed in the background), could be set to process only PDF files, etc.