Copy link to clipboard
Copied
Really hoping someone can point me to the right direction. Here's an example case:
Rather than rename each artboard one by one, I am hoping there is a script out there that can rename each artboard according to the name of its contents. I can envision an edge case where an arboard contains more than one named object - and in this case just picking the first name should be sufficient..
Does anyone have a script? Can I pay someone to create it?
Thanks so much,
Jay
There were several similar requests. I have created a script for this task "RenameArtboardAsTopObj"
https://github.com/creold/illustrator-scripts/blob/master/md/Artboard.md#renameartboardastopobj
Copy link to clipboard
Copied
var doc = app.activeDocument;
for (var i = 0; i < doc.artboards.length; i++) {
doc.artboards.setActiveArtboardIndex(i);
doc.selectObjectsOnActiveArtboard();
doc.artboards[i].name = doc.selection[0].parent.name;
}
Copy link to clipboard
Copied
Thank you!
Copy link to clipboard
Copied
There were several similar requests. I have created a script for this task "RenameArtboardAsTopObj"
https://github.com/creold/illustrator-scripts/blob/master/md/Artboard.md#renameartboardastopobj
Copy link to clipboard
Copied
This script is great! Exactly what I needed. Thank you.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more