Illustrator script Rename selected multiple different artboards
hello
I don't know how to write a script,
I want to find a script that can rename my selected artboard. Just like in the screenshot, just rename my selected artboards.

hello
I don't know how to write a script,
I want to find a script that can rename my selected artboard. Just like in the screenshot, just rename my selected artboards.

thanks for the reply
What I want is
A script file can automatically rename a randomly selected artboards
![]()
Here you go (without any error management)
// set a new name eg "New Name" for the artboards Nr.?
var aDoc = app.activeDocument;
var which_artBoards_to_rename = prompt( "Rename Active Artboard" + "\n" + "Enter a number:", "2,3,5" ).split(",").join("");
for (i=0; i<which_artBoards_to_rename.length; i++) {
abIdx = which_artBoards_to_rename*1 - 1;
aDoc.artboards[abIdx].name = "New Name " + which_artBoards_to_rename; // set the new name here
}
If that works for, try to understand
and have fun
![]()
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.