Today we have a quick, time-saver scripting tip for Adobe Illustrator; Remove all guides in an artboard (or in multiple artboards) using short Illustrator Script.

We strongly recommend using ScriptBay panel for executing scripts. You may download it for free here. ( You may also check this link about installing ScriptBay to Adobe Illustrator.)

 

// Remove all guides
var doc = app.activeDocument;
for (var i = doc.pathItems.length-1; i >= 0; i–) {
var p = doc.pathItems[i];
if (p.guides == true) {
p.remove();
}
}// Remove all guides
var doc = app.activeDocument;
for (var i = doc.pathItems.length-1; i >= 0; i–) {
var p = doc.pathItems[i];
if (p.guides == true) {
p.remove();
}
}


 

 

1 reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.