Export As in an action does not save parameters but uses ones from the latest export instead
When you record 'Export As...' as an action, and use PNG format, the parameters (resolution, anti-aliasing type, background color) are not saved in the action, but are instead just picked up from the last used export.
Is this not a big problem?
Aren't actions supposed to be self-contained?
If one toggles on the 'dialog' icon in the Actions panel (to let us pick settings on the fly), then it's no different from just choosing the Export As... menu item, so what's the point of the action?
Tested with Win 2024
-
Enisio
commented
From AI CS5 up to AI2024, simple Export As actions worked without issues. Starting with AI 2025 and AI 2026, these actions no longer behave correctly.
Important note: Please do not suggest alternatives (jsx, embedded actions, presets, etc.). All have been tested; the problem persists.Steps to reproduce:
- Create a set with two actions:
- Export As > 300ppi
- Export As > 72ppi
(Format type doesn’t matter: JPG or PNG)- Run them separately. The 72ppi action still exports at 300ppi.
- For testing, manually set Export As to 4ppi (not via action).
- Now run the 300ppi or 72ppi action. Illustrator exports at 4ppi instead.Observed behavior:
Actions are stuck on the last values used in the Export As dialog, ignoring their own settings.Temporary workaround:
I currently use two separate jsx scripts, each triggered by an action via Insert Menu Item. They work, but this defeats the purpose—actions should function correctly without requiring jsx. -