Answered
script for Illustrator: selectAll by Script
I wonder if it is possible to selectAll by Script without using MenuCommand…
app.executeMenuCommand("selectall");
Any simple solution anyone?
Nils
I wonder if it is possible to selectAll by Script without using MenuCommand…
app.executeMenuCommand("selectall");
Any simple solution anyone?
Nils
hi CarlosCanto,
>> is executeMenuCommand giving you issues?
not at all—indeed it is running quite well and super smooth
I was just curios if it might work without and if there might be a new scripting event...
so in this case your solution is the best one!
Thanks again!
Nils
For those who want to copy the ready-made Script lines:
var docRef = app.activeDocument;
for (i=0; i<docRef.layers.length; i++) {
docRef.layers[i].hasSelectedArtwork = true;
}Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.