AskMOGO

Navigate Through InDesign Page Objects with Keyboard Shortcuts

Power users keep their hands on the keyboard as much as possible. After all, moving a mouse or trackball (or, worse, trackpad) is nice, but not efficient. It’s easy to move from page to page in InDesign with keyboard shortcuts. But what about from object to object?

I am really pleased to announce a set of scripts for InDesign that let you navigate around your document, from object to object, or even with multiple objects (more on what that means in a minute). This set of scripts was written by Kris Coppieters of Rorohiko (also known as Lightning Brain), the makers of a whole slew of astonishingly great plug-ins (check their Downloads section). Please note that these scripts are (as far as I know) for InDesign CS3 only.

How the scripts work:

1. First, download the scripts by clicking on this link. (Note that you’ll need to be signed in to the MOGO site to download this file, but registration is free and easy!)

2. Unzip the folder of scripts. You’ll find a ReadMe file in there, which explains the system and how it works.

3. In InDesign, choose Window > Automation > Scripts. This opens the Scripts panel.

4. Right-click (or Control-click on a Mac with a one-button mouse) on the User folder inside the Scripts panel, and choose Open in Finder (or Open in Windows Explorer, if you’re using Windows). This opens the proper folder on your desktop, so you don’t have to go hunting around for it.

5. Drag the KeyboardNavigation folder into the folder called “Scripts Panel” and then return to InDesign; if you open the User folder in the Scripts panel (by clicking the little triangle next to it), you should see the folder you just added.

6. If you open that folder inside the Scripts panel, you can run any script by double-clicking on it. But that’s not efficient — we want to assign keyboard shortcuts to these. So choose Edit > Keyboard Shortcuts.

7. If you have made a custom keyboard shortcut set already, then make sure it’s selected in the Set pop-up menu. Otherwise, click New Set and give your new set a name.

8. In the Product Area pop-up menu, choose Scripts, and scroll down the list until you see User: KeyboardNavigation:

Keyboard Navigation

9. Notice that each script navigates to a different object on your page. For example, GoDown.jsx selects the next object down on the page (”down” meaning toward the bottom of the page); GoFarLeft.jsx selects the left-most object on the page; and so on. For each script you expect to use, assign a shortcut to it.  The ReadMe file has suggestions for shortcuts you can use, such as Ctrl+Left Arrow for GoLeft and Ctrl+Right Arrow for GoRight. But you can choose any shortcuts you want. Don’t forget to click Assign after each shortcut.

10. When you’re done assigning shortcuts, click OK and try them out on your layout!

What Gets Selected:

One of the most amazing things about these scripts is that they actually look at where objects are on your page in relation with each other. For example, let’s look at this page layout with four text frames on it:

 Keyboard Navigation 2

Currently frame 1 is selected. If we choose GoRight, frame 2 becomes selected, even though “technically” frame 3 is the next frame to the right. It does this because frame 2 is more “to the right of frame 1″ than frame 3 is.

If frame 1 is selected and we choose GoDown, then frame 3 becomes selected for the same reason (frame 3 is more “in line” with frame 1 than is frame 2). However, when frame 3 is selected and we choose GoUp, then frame 2 becomes selected! It’s hard to explain, but it’s very intuitive to use.

Here’s a few other things that need explaining, but are very powerful. First, if frame 1 is selected when you choose GoFarRight, frame 2 becomes selected. If you choose GoFarRight again, you’ll get frame 4. This is because frame 2 is far right of frame 1! (That is, “far” means of the current object, not necessarily the right-most object on the page.)

Next, if frame 4 is selected and you choose GoDown, it will select the top object on the next page. That is, you can navigate from objects on one page to the next!

Z Order:

Several of the scripts have to do with moving in “z-order” — that is, forward or backward in a stack of objects. For example, in this layout:

Keyboard Navigation 4

If frame 1 is selected and you choose GoForward, it takes you “toward the front” of the stack. In this case, even though frame 2 is technically above frame 1 on the layer, the script selects frame 3 because it’s the logical choice.

Grids of Objects:

These scripts also work when you have more than object selected on your page! For example, let’s say these three odd-numbered frames were selected on this page:

Keyboard Navigation 3

When you choose GoRight, then frames 2, 4, and 6 would become selected. This is a great way to navigate among objects that are laid out (more or less) in a grid!

Entering Text in Frames:

You may notice that there are two scripts in the folder that are not for object navigation: GoTextEnd and GoTextStart. These actually place the text cursor inside the currently-selected frame. If a frame (any kind of frame, even graphic or unassigned frame) is empty, the script converts it to a text frame and places the cursor in it.

Again, it’s all about keeping your hands on the keyboard. You can navigate to a frame, place the text cursor in it, edit, then return to object navigation mode by pressing Esc. (Esc is not part of the scripts; that’s just a normal InDesign shortcut for switching back to the Selection tool.)

The more I use these scripts, the more I find them useful. After all, who doesn’t want to get more efficient?!

Let Kris know what you think of the scripts in the comments below.

Adding End-of-Story Bullet Characters in InDesign

Question: Is there any way to automatically put a special bullet character at the end of every story in InDesign?

Check out the AskMOGO.com video podcast answer here.

Duplicating Transformations in Illustrator

Question: I’ve been a life-long, 17-year user of FreeHand and this is just killing me. In FreeHand I could “Cmd-C” an object to move it then “Cmd-D” would repeat that to create simple patterns. How do I do that in Illustrator? I tried “Cmd D” but it just moves the same shape. It doesn’t create new ones?

Check out the AskMOGO.com video podcast answer here.

Swapping Colors in Illustrator

I’m working on a 4 color-process job in Illustrator that uses a blue that is our corporate blue. Well now the job is almost ready for press and they decided to make this a 5-color job. I know there is an easy way to make all this blue a PMS5425 blue. Is this enough info? Can you help me out?

Check out the AskMOGO.com video podcast answer here.

Custom Symbols Libraries in Illustrator

I have a question about Symbol Libraries. I have managed to create a library for a website I am working on. The library has a few logo ideas and I would like to be able to add to it when I am in another Illustrator document. It seems that all I am able to do is create another new library, open the older symbols and save them… this method slows down the workflow. Any suggestions?

Check out the AskMOGO.com video podcast answer here.

Use colors from photos in Illustrator

I was wondering if there is a way that I can automatically create a group of swatches from a placed Photoshop image? There is an easy way to do it in Photoshop (converting the image to Indexed color, etc.), and I’d love to know if there’s an equivalent in Illustrator CS3?

Check out the AskMOGO.com video podcast answer here.

Clipping Masks in Illustrator

QUESTION: I am using Illustrator CS3, and I have a picture that I’d like to place multiple text objects and possibly vector images over and make a clipping mask utilizing all of the objects at the same time. I can’t figure out a way to combine the text objects so that they form a clipping mask (when I try, I usually just get the last object I put in to be the mask).

Check out the AskMOGO.com video podcast answer here.

Getting Straight Quotes in InDesign

Diane K. wrote: I need to type straight quotes a lot in InDesign (for measurements), but I want normal typographer’s quotes most of the time. Do I really have to go to the Preferences dialog box everytime I want to go back and forth?

You’re in luck, Diane! There are two keyboard shortcuts you should know about. (Don’t feel bad, most InDesign users don’t know these either.)

First, you can press Command-Option-Shift-’ or Ctrl+Alt+Shift-’ (that’s the quote key) to turn the preference on or off (without visiting the dialog box).

Alternately, you can press Ctrl-’ (on the Mac) or Alt-’ (in Windows) to type a straight quote at any time.

That said, I do feel obliged to mention that many designers insist that straight quotes should never be used for measurements (such as inches or feet). They usually prefer a special character that looks like a mix of an italic-straight quote and an accent.