This question was asked and abonadoned here, so I'm posting because it's also happening to me.
CS4 & CS5 (I tried both), Mac OS 10.6
1. I select the "Save for Web PNG" action, which is part of the default set, and select "Batch."
2. I choose a source folder and choose a destination folder, and check "Override Action 'Save' Commands."
3. Illustrator then performs the Save for Web action, but puts the .png files in the original destination specified in the action. It also puts copies of the .ai files in the destination folder I created and specified in the Batch dialog box.
I want the .png files in my folder, and I don't want copies of the .ai files.
Pulling my hair out on this one, going to lunch. Thanks in advance for any help
A priori, I would expect the Action to behave as you want it to, and not as it is happening.
I don't have an authoritative answer for you (I've never worked on the Action interpreter) as to why it isn't working as desired, but as a pure guess, perhaps "Save for Web" does not count as a "Save" command in the sense that the batch Action machinery interprets that word?
Did it work as you expected in CS3, or have you only tried it in the newer versions?
I will try to find out who is currently responsible for the code that executes Actions, and point them to this thread, so that you can get a more informed response.
perhaps "Save for Web" does not count as a "Save" command in the sense that the batch Action machinery interprets that word?
Ah, I think that might be it. I tried it with a simple "Save As SVG" action and it worked as expected, news files where I wanted them and no extra .ai copies. On CS3, CS4 and CS5 (the only other version I have on my machine is v.10, which I'm apparently holding onto for sentimental reasons:))
This is a shame, because I would think that a batch Save for Web would be really useful. Thanks for your reply and for looking into it.
Seems to be coming from the batch command, as the action runs fine as an action on one file. I made a new action using export to PNG, and the only resulting files were .ai files and no pngs (an even worse result).
Illustrator actions have always been not as stable or advanced as Photoshop, but this is truly disappointing.
Sorry I cannot provide a solution, but noone was answering this post so wanted to chime in with what I found.
Ah, ok. That worked, for the most part. When I used "Folder" as the destination, my jpegs were saved to that folder, but I also got the .ai copies again. Argh. It was only when I chose "Save and Close" as the destination that I got just the jpegs.
So "Save for Web" is actually a type of export, rather than a save. It's confusing, since the action is called "Save for Web…" Plus, the batch works — in the original way I set it up — with a regular Save command.
btw, the top section only goes gray when "Save & Close" is selcted (see screen shot). Thanks for your help.
This thread was helpful. I have related question:
How do I force the batch action to run without intervention? Right now I have to click "Save" in the "Save for Web" screen, then hit save again, to accept the default name. Kind of defeats the purpose of a "batch action".
In the Actions panel, just to the left of the Action name, there's a little square icon with three dots in it. That means there's a dialog present in the action. If you click to turn those off, it won't stop for those dialogs.