Site logo

Label main text frames

Before running the script that makes hyperlinks, I do some preparatory work. First I select some text, or a text frame, or place the cursor into the script and run Label main text frames scripts to indicate the main text flow. A page in most cases contains many text frames. To make things easier, the script sets label “main” to each frame in the chain. It also creates and applies object style called “main” which applies a yellowy tint to the frames. It´s done only to visualize the labeled frames so I could easily see where I didn´t apply the labels. The style can be safely deleted at any moment, or its fill color can be set to [Paper]/[None]/White.

Before

After

The “main” object style and swatch are added by the script if they don´t exist in the document yet.

Click here to download the script

Back to the main “Scripts for making hyperlinks” page