Answered
Can you loop through a set number of open documents without closing them?
Hi all,
Is that possible?
If I always have 8 documents open, I want to run the script on all 8, but without having to save and close each one - like a WHILE loop would do.
I just can't get this to work on more than one open file...
for (var i = 0; i < app.documents.length; i++) {
var doc = app.activeDocument;
var ABs = doc.artboards;
ABs.setActiveArtboardIndex(176); //put KM variable in here
doc.selectObjectsOnActiveArtboard();
}Can anyone help at all? Many thanks, J
