Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Looking for a script that will rename all artboards according to their child content's name.

Contributor ,
Aug 21, 2022 Aug 21, 2022

Really hoping someone can point me to the right direction. Here's an example case:

Illustrator_X3cln2f36w.png

 

 

 

 





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

TOPICS
Scripting , Third party plugins , Tools
396
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Aug 22, 2022 Aug 22, 2022

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

Translate
Adobe
Guide ,
Aug 22, 2022 Aug 22, 2022

 

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;
}

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 22, 2022 Aug 22, 2022

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 22, 2022 Aug 22, 2022

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 22, 2022 Aug 22, 2022
LATEST

This script is great! Exactly what I needed. Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines