• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to know how many guides (rows and columns) that you have in a document?

Explorer ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

IAshour_0-1626901559557.png

I am trying to figure out how many columns and rows I put, but when I go back to "create guides," it resets? 

TOPICS
How to

Views

156

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

I'm confused. Clearly the guides are visible in your screen shot. Why not simply count?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

Because it gets just repetitive and I forget a lot of the time. I just wanted to know if there is a way to just know what numbers for the rows and columns without counting. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 21, 2021 Jul 21, 2021

Copy link to clipboard

Copied

The only way I can see to do it is to go to Create Guides and input your values until it matches up -  you can check with Preview that they overlay accurately.

 

Then you will know by looking at the values you insert. 

And then select cancel to ensure you don't override your current settings.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 22, 2021 Jul 22, 2021

Copy link to clipboard

Copied

You can get the count via scripting. This would count the horizontal and vertical guides for the active page.

 

 

 

var g = app.activeWindow.activePage.guides;
var vc = 0; var hc = 0;

for (var i = 0; i < g.length; i++){
    if (g[i].orientation == HorizontalOrVertical.HORIZONTAL) {
        hc++
    } else {
        vc++
    }
};   

alert("Horizontal Guides:" + hc + "    Vertical Guides:" + vc);

 

 

 

Screen Shot 29.png

 

 

If you want the entire document change the first line to 

 

 

 

var g = app.activeDocument.guides;

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 22, 2021 Jul 22, 2021

Copy link to clipboard

Copied

LATEST

Also, if the guides are masterpage items they would not get counted—to get a master’s page guides make the masterpage the active page

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines