Copy link to clipboard
Copied
Hi and thanks for any input on this question. Does anyone know of a way to create a random or sequential file name in an action that ends with a save command?
There are various scripts to rename layers.
There are various scripts to export all layers or layers within groups etc (both from Adobe and user created scripts).
With later versions of Photoshop, it is possible to select all layers and use the Layer > Export As… command to save out each layer as an individual image file. This can be recorded into an action for semi-automated processing.
You should be able to come up with a workable solution.
Copy link to clipboard
Copied
Not with actions but probably possible with a script. Try the scripting forum.
Copy link to clipboard
Copied
If you have Bridge, try Batch Rename. Should work for you, and you don't have to re-save the file, which would degrade quality
Copy link to clipboard
Copied
If you are running an action using the batch command, it is possible to add a sequential number. Sequential numbering is also a feature of the Image Processor Pro script.
I have not come across random schemes.
I second Benjamin Root’s suggestion for Bridge’s Batch Rename as an extra post processing step, even more so if the originals are JPEG files.
Copy link to clipboard
Copied
Thank you for your replies. I should have specified. I am saving various layers from a psd file. Not all the layers but some. I'm not sure I understand how I could use batch command in this way. Would I make it part of the action?
Copy link to clipboard
Copied
That does make a difference!
What version of Photoshop?
Perhaps a screenshot of the layers or expanded action would help.
Copy link to clipboard
Copied
Version CC.
Right now I am thinking it will have to be done with a script. What do you think?
Copy link to clipboard
Copied
There are various scripts to rename layers.
There are various scripts to export all layers or layers within groups etc (both from Adobe and user created scripts).
With later versions of Photoshop, it is possible to select all layers and use the Layer > Export As… command to save out each layer as an individual image file. This can be recorded into an action for semi-automated processing.
You should be able to come up with a workable solution.
Copy link to clipboard
Copied
Apparently continued here:
Need a script to save file with random or sequential filename to be placed in action
Copy link to clipboard
Copied
Thank you all for your help! This seems to be resolved by using export layers to files.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now