Skip to main content
j.khakase
Inspiring
August 1, 2022
Answered

Add Ref. No at starting of the custom artboard name

  • August 1, 2022
  • 16 replies
  • 1929 views

Can we add Artboard Ref.no at starting of the each selected artboard name. I don’t want to lost given custom name. just to add Ref. No at starting of the custom artboard name

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Sergey Osokin

Maybe you will find this script useful. It has a lot more options https://github.com/creold/illustrator-scripts/blob/master/jsx/BatchRenamer.jsx

16 replies

rcraighead
Legend
August 1, 2022

This would work:

function artboardRef() {
    var aDoc = app.activeDocument;
    for (i = 0; i < aDoc.artboards.length; i++) {
        var abName = aDoc.artboards[i].name;
        aDoc.artboards[i].name = (i + 1) + '_' + abName;
    }
}

artboardRef();
j.khakase
j.khakaseAuthor
Inspiring
August 3, 2022

Yes, Its working as expect. Thank you so much. 

Sergey Osokin
Sergey OsokinCorrect answer
Inspiring
August 1, 2022

Maybe you will find this script useful. It has a lot more options https://github.com/creold/illustrator-scripts/blob/master/jsx/BatchRenamer.jsx

j.khakase
j.khakaseAuthor
Inspiring
August 1, 2022

Wow, Great, absolutely working

Sergey Osokin, you given me lot lot than I was expecting.

Thank you so much 🙂