I would like to perform a Conditional Action, and then overwrite the original file and close. I can't seem to achieve the overwrite. In the recording of the action, the option to just Save is not available (only Save As). And in the Batch settings, it's awful confusing, and then best I've been able to achieve is Save As, and they all end up on my desktop, not in the original folder. I know this is possible! Can anyone guide me?
Save is in pronciple possible in Actions if it is possible in the current situation – so for example if you added Layers to a jpg you need to make the image conform to jpg’s possibilities again before being able to save it »plainly«.
It's very odd, I wonder if it's a bug, but I had no layers, just a flat Jpeg and Save was not available. However, if I made one tiny irrelevant modification to the image (I tried a transparent tiny paintbrush stroke) then all of a sudden, Save became an option again.
Which script you are using for Batch processing? File > Automate > Batch, I guess. That script offers to overwrite Save As command. If you want to use Save command then @c.pfaffenbichler gave you good explanation.
All action steps are independent, can be played on its own but... each and every step has dependency like previously explained: particular command which should be executed must be available in menu like some layer or particular layer must be selected or pixel based layer must be selected to apply filter, or some changes must be made to activate Save command like in your case and so on... Confusing part is that you can record step which may not be available for execution when playing action.