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

Rename artboards using their numbers

Contributor ,
Oct 19, 2015 Oct 19, 2015

Copy link to clipboard

Copied

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

Views

2.3K

Likes

Translate

Translate

Report

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();

Likes

Translate

Translate
Explorer ,
Oct 27, 2022 Oct 27, 2022

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

i think yes

Likes

Translate

Translate

Report

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