Skip to main content
Serene_observer5E99
Inspiring
January 12, 2022
Question

Delete all guides in a document

  • January 12, 2022
  • 3 replies
  • 3255 views

I know how to delete all guides on a spread, but is there a command to delete all guides in a document? I have a 200+ page file, and I hate to have to click through each spread to delete the guides.

 

I can't just hide the guides, because I need the margins and master page guides to show.

 

There has to be an easy way to delete them all at once, right?

This topic has been closed for replies.

3 replies

rob day
Community Expert
Community Expert
January 13, 2022

Hi @Serene_observer5E99 , the script for removing all document guides is one line:

 

app.activeDocument.guides.everyItem().remove();
Community Expert
January 12, 2022

You can select all pages in Page panel, and then under Layout > Create Guides > Select "Remove Exisiting Ruler Guides"

 

Serene_observer5E99
Inspiring
January 12, 2022

Tried this solution...it didn't change a thing.

Community Expert
January 12, 2022

Sorry, you are right, it doesn't work on all pages.

Joely10623436
Community Expert
Community Expert
January 12, 2022
Serene_observer5E99
Inspiring
January 12, 2022

This sounds like the most likely solution, but I'm not familiar with scripts...is it easy to run them? Can you explain how I do that, or is it complicated to explain?

Community Expert
January 13, 2022