Script to Rename Paths
I am attempting to select a number of paths that have not been named and batch name them with a single name for example sake "<name>" without the quotes but with the brackets. I have been trying code from these two forums with little success.
any help would be appreciated!
var doc = activeDocument;
var sel = doc.selection;
var suffix="<name>";
for (var i=0; i < sel.length; i++)
sel[i].name = (sel[i].name == "") ? sel[i].typename+suffix : sel[i].name+suffix;
