Is there a command to extend a guide in Indesign over the entire pasteboard; or limit it to the page?

When I draw guides in InDesign, there are two possible end results: the guide covers the entire pasteboard, or it stops at the page edge.

example of different guide types

I know that I can control this difference by the location of my cursor when I release my click-drag for creating or editing the guide.

Is there a way to toggle a guide from the one type to the other without having to click and drag it again? I find that my click-dragging usually moves the guide by a little, and I like them in the location I put them.

Answer

Run this JavaScript:

app.selection[0].fitToPage ^= true;

… with a guide selected, of course.

Attribution
Source : Link , Question Author : Vincent , Answer Author : Jongware

Leave a Comment