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

Rename artboards using their numbers

Engaged ,
Oct 19, 2015 Oct 19, 2015

I need a script or action or rtfm-quote that renames all artboards (may be selected only, but I see no use of it) with default pattern ('Artboard X'), where X is an actual number of artboard.

I'm a bit tired that after rearranging order of arboards their labels don't correspond with numbers.

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

Community Expert , Oct 20, 2015 Oct 20, 2015

function renameArtboards(){

     var docRef = app.activeDocument;

     var aB = docRef.artboards;

     for(var a=0;a<aB.length;a++){

          var curAB = aB;

          curAB.name = "Artboard " + [a+1];

     }

}

renameArtboards();

Translate
Adobe
Explorer ,
Oct 27, 2022 Oct 27, 2022
LATEST

haha.. sorry guys, think i'm in over my head, realising maybe I need to list artboards, save in scripts folder, etc. 

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
New Here ,
Nov 12, 2021 Nov 12, 2021

Is this topic solved? I'm looking for the same solution!

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 ,
Feb 14, 2022 Feb 14, 2022

i think yes

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