How to Stop Acrobat Action Wizard Save Prompts When Creating JPGs
Question details
The user needs to prevent save confirmation prompts and JavaScript warnings from interrupting automated PDF-to-JPG batch conversions in Action Wizard.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Automating the batch conversion of PDF forms to JPG files for faster printing using Adobe Acrobat Action Wizard.
- Observed behavior
- The automated Action Wizard sequence is repeatedly paused by 'Save As' confirmation prompts and custom JavaScript validation pop-ups triggered by empty form fields.
Before modifying your Action Wizard sequences, ensure you have administrative access to edit JavaScript actions in Acrobat and keep a backup folder of your original PDF forms.
Use JavaScript to Suppress the Save Prompt in Action Wizard
Add a simple JavaScript command to your action sequence that marks the document as unmodified, thereby bypassing the Acrobat save confirmation.
When Acrobat processes files through the Action Wizard, it may alter the file state (e.g., flattening form fields). This triggers a built-in 'Save As' prompt. By injecting a script that sets the document state to clean, Acrobat will close the file silently without asking to save.
Launch Adobe Acrobat, navigate to the 'Tools' tab, and select 'Action Wizard'.
Find your existing PDF-to-JPG conversion action in the Action List and click 'Edit'.
In the left panel under 'More Tools', click 'Execute JavaScript' and click the '+' icon to add it to your action steps on the right. Place this step immediately before the save or close step.
Uncheck the 'Prompt user' box. Click 'Specify Settings' and enter the following code: this.dirty = false; Then click 'OK'.
Save your modified Action sequence. When you run it next time, the batch conversion will proceed without triggering the Save As prompt.

Batch Convert PDF to JPG Effortlessly with WPS Office
Avoid complex JavaScript setups and action wizards. WPS Office provides a streamlined, built-in tool to batch convert multiple PDF forms into high-quality JPG images quickly, without annoying pop-ups or save prompts interrupting your workflow.
- 1. Open WPS Office: Launch WPS Office and navigate to the 'PDF' tab from the main interface.
- 2. Access PDF to Picture: Click on 'PDF to Picture' in the top toolbar to open the conversion utility.
- 3. Add Files: Click 'Add Files' and select all the PDF forms you wish to batch convert.
- 4. Configure Settings: Set your output format to 'JPG' and choose your preferred image quality and output directory.
- 5. Export Images: Click 'Export' to process all files continuously. WPS Office will handle the conversion smoothly without prompting you to save intermediate steps.

Frequently Asked Questions
Why does Acrobat show a save prompt during batch conversion?
Acrobat triggers a save prompt if it detects any changes made to the document during the automated process, such as flattened fields, altered formatting, or form script execution, to ensure you do not lose modified data.
Can I automatically dismiss JavaScript empty field warnings in Action Wizard?
Standard Acrobat actions cannot automatically 'press Enter' on custom pop-ups. To suppress custom JavaScript alerts, you must modify the original form validation scripts to bypass the alert when detecting a batch process.
What does the 'this.dirty = false;' script do in Adobe Acrobat?
This JavaScript command tells Adobe Acrobat that the current document has not been modified since it was last opened or saved. By marking the file as 'clean', Acrobat is tricked into closing the file without asking the user to save changes.




