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

Is there a way to batch rename artboards in Illustrator CC?

Community Beginner ,
May 22, 2015 May 22, 2015

Is there a way to batch rename artboards in Illustrator CC?

I have 20 different artbords that i want to rename with a specific name and number!

/PÃ¥l

TOPICS
Scripting
27.8K
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

Guide , May 24, 2015 May 24, 2015

does this do what you are after?

modified a script I wrote to do the same with layers.

//===========================================================

//

//          Rename Artboards

//

//===========================================================

//

//          Version 0.1

//          25/5/2015

//          Qwertyfly

//

//===========================================================

var doc = app.activeDocument, abs = [];

for(var i = 0; i < doc.artboards.length; i++){

    abs.push(doc.artboards.name)

...
Translate
Adobe
Explorer ,
Jan 23, 2024 Jan 23, 2024

This is awesome, 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
Explorer ,
Oct 10, 2024 Oct 10, 2024

@Sergey Osokin I love your script! Unfortunately at the moment the dialogue appears as a tiny button which I cannot enlarge; when I activate it I can see all the artboard numbers, and the start of the name. Is there a pref file I can reset somewhere? 

 

reinko_0-1728567728761.png

 

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 ,
Oct 10, 2024 Oct 10, 2024

This is not normal. The script has no minimize function. You can set the number of rows in CFG.rows height and the size of the CFG.listHeight area in the CFG variable. Are you experiencing this problem with other dialog scripts? What have you changed in Illustrator recently? Perhaps you have installed a new release or are using the beta version of Illustrator?

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
Explorer ,
Oct 10, 2024 Oct 10, 2024

You're right, it's an AI problem, the same is happening with another script. 

I am running AI 28.7.1 on MacOS 14.7. I think it's been going on since AI 28.7. 

I guess I'll try deleting my AI prefs. Thanks for your quick response! 

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 ,
Oct 10, 2024 Oct 10, 2024
LATEST

We should try a preference reset. I tested AI v28.7.1 and Mac OS 12.7.6, no scripting problem found.

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