Disable 'Save Changes' Prompt When Batch Exporting PDF to JPG in Acrobat
Question details
The user wants to bypass repetitive 'Save Changes' prompts during a batch export of PDF files to JPEG using Action Wizard.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Running an Action Wizard batch process to export multiple PDF documents to JPG images.
- Observed behavior
- Repetitive 'Save Changes' prompts interrupt the automated batch export process, requiring manual intervention for each file.
Ensure you have access to the Action Wizard feature in Adobe Acrobat Pro, as the standard version does not support advanced batch processing and JavaScript execution.
Use JavaScript to Suppress Save Prompts in Action Wizard
By injecting a single line of JavaScript into your batch workflow, you can trick Acrobat into thinking no changes were made, bypassing the save prompt.
When Adobe Acrobat processes files through the Action Wizard, it often makes temporary background changes to the document structure. This triggers a save prompt when the file attempts to close, halting your batch process. Adding a specific JavaScript command resets the document's modification status.
Navigate to 'Tools' > 'Action Wizard' in Adobe Acrobat Pro and select your existing PDF to JPG export action from the list to edit it.
From the left pane, expand the 'More Tools' section, click on 'Execute JavaScript', and add it to your action workflow on the right.
Open the JavaScript editor for that newly added step and type the following code exactly: `this.dirty = false;`.
Ensure this JavaScript step is placed at the very end of your workflow, just before the document closes. Save your Action and run the batch process again.

Batch Convert PDFs to JPGs Seamlessly with WPS Office
Instead of dealing with complex Action Wizards and JavaScript coding, use WPS Office's built-in PDF to Picture tool to batch convert your PDFs to high-quality JPGs without repetitive prompts.
- 1. Open WPS Office: Launch WPS Office on your computer and open one of the PDF files you wish to convert.
- 2. Access PDF to Picture Tool: Go to the 'Tools' tab on the top ribbon and select 'PDF to Picture' from the menu options.
- 3. Add Multiple Files: In the conversion dialog box, click 'Add Files' to import all the PDF documents you want to batch convert.
- 4. Configure Export Settings: Set your output format to JPG, adjust the image quality settings, and choose your preferred destination folder.
- 5. Start Batch Export: Click 'Export' to process all files automatically. WPS Office will convert them seamlessly without any interruption or save prompts.

Frequently Asked Questions
Can I use this JavaScript trick for batch converting to other formats?
Yes, adding `this.dirty = false;` works for any Action Wizard workflow where you want to prevent Adobe Acrobat from prompting you to save changes before closing the document.
Why does Adobe Acrobat ask to save changes when exporting to JPG?
During the export process, Acrobat might temporarily modify the document structure or metadata. These minor background changes trigger the 'Save Changes' prompt when the file attempts to close.
Is Action Wizard available in the free Adobe Acrobat Reader?
No, the Action Wizard and the ability to execute custom JavaScript in batch processes are exclusive features of the paid Adobe Acrobat Pro version.
Does WPS Office support batch converting PDFs to images for free?
WPS Office offers a built-in PDF to Picture feature. While basic conversion is available for free, batch processing multiple files simultaneously and removing watermarks may require a WPS Premium subscription.




