Skip to main content
soufianovitch
Known Participant
September 21, 2022
Answered

Select first Artb then select Next Artb with a script?

  • September 21, 2022
  • 1 reply
  • 418 views

Guys is there any way to select the next Artboard like (the select next object below) with a script?


Example :
if i have Artb 1 selected then i want to select the next Artb which is Artb 2 then Artb 3 then Artb 4.

i want this script to use it in an action for like 200 pages.

This topic has been closed for replies.
Correct answer femkeblanco
var ABs = app.activeDocument.artboards;
var index = ABs.getActiveArtboardIndex();
ABs.setActiveArtboardIndex(index + 1);

1 reply

femkeblanco
femkeblancoCorrect answer
Legend
September 21, 2022
var ABs = app.activeDocument.artboards;
var index = ABs.getActiveArtboardIndex();
ABs.setActiveArtboardIndex(index + 1);
soufianovitch
Known Participant
September 21, 2022

Thank you very much, it works perfectly. thank you