One Page, Two Windows

If you are accustomed to the one-view-per-page paradigm, of, um, other professional page layout applications, you may have overlooked InDesign's ability to let you work in two or more window views of the same document page. Open a document and choose Window > Arrange > New Window to create a new view of your page.

For detailed work, I use two monitors with a fit-to-window view of the page on the one screen while the second screen contains another window view that I can zoom into 200-4000%. The changes are reflected immediately on both windows. The only drawback is that the two windows are not synchronized if you move between pages of on a multi-page document. Each window view of the document is independent.

If you need to move information from one portion of a long document to another, open two views of the document up and copy and paste between windows.

Minimize All Vertically-Docked Palettes with One Click

If you've arranged some of your InDesign palettes to be docked along the left or right vertical edges of the screen, you can minimize and maximize all of those palettes by Option-clicking (PC: Alt-clicking) on any of the palette name tabs. It is a nice way to show more screen space quickly.

Scroll wheel-assisted zooming

Using InDesign CS and CS2 with a scroll wheel-equipped mouse provides a live zoom (in and out) by holding Command (Mac) or Control (PC) and moving the scroll wheel up or down. This live zooming feature will center itself on the cursor as you zoom in.

This works with the various Logitech mice I've tried, but I don't have an Apple Mighty Mouse to test the feature.

Rename/Relink Script

Every so often, I have to update "Real World Adobe InDesign," (I wrote the first edition, and have collaborated with David Blatner on three other editions). Because we suffer from various personality flaws, we've used a different scheme for each edition for naming the multitudinous graphics files that make up the illustration in the book.

During production, these different naming "systems" (I use the term very loosely) become a headache. Does "XXtabs palette.01.tif" go in the same illustration with "set tabs_a.tif"? And what do either of them have to do with "02 tab set.tif"?

We could, of course, go to the Finder/Explorer and change the file names, then return to InDesign and relink each graphic to the corresponding renamed file. But that kind of back-and-forth, painstaking operation takes lots of time (which we never have). And it's an error-prone process, as well.

For this production cycle, I decided to do something about it. The following script renames the file linked to the selected graphic, then relinks the graphic to the renamed file. As you can see from the comments, this script isn't perfect--but it's good enough to save me a lot of time and trouble.

To use the script, copy it out of the message and paste it into a text editor (BBEdit or Notepad will work just fine). Save the file as plain text, giving it the file extension ".jsx". Put the file in the Scripts folder inside the Presets folder in your InDesign folder. The script will now appear in the Scripts palette (Window>Automation>Scripts). To run the script, select a graphic (or its frame), then double-click the script name in the Scripts palette.

//RenameRelink.jsx
//An InDesign CS2 JavaScript
//
//Renames the file of the selected linked graphic and relinks to the renamed graphic.
//Used in the production of "Real World Adobe InDesign CS2"
//
if(app.documents.length != 0){
if((app.documents.item(0).allGraphics.length != 0)&&(app.selection.length != 0)){
  //A production version of this script would probably include
  //a more complete list of graphic/page item types.
  switch(app.selection[0].constructor.name){
   //If a frame is selected with the Selection tool...
   case "Rectangle":
   case "Oval":
   case "Polygon":
    if(app.selection[0].graphics.length != 0){
     myDisplayDialog(app.selection[0].graphics.item(0));
    }
    break;
   //If a graphic is selected with the Direct Selection tool...
   case "Image":
   case "EPS":
   case "PDF":
    myDisplayDialog(app.selection[0]);
    break;
  }
}
}
function myDisplayDialog(myGraphic){
//A production version of this script would probably check the link
//status before proceeding to get the link file.
var myLink = myGraphic.itemLink;
var myLinkName = myLink.name;
var myLinkFile = File(myLink.filePath);
//A production version of this script would check to see if
//the link file is present, and whether it's an alias/shortcut
//rather than a file.
var myDialog = app.dialogs.add({name:"Rename Graphic"});
with(myDialog.dialogColumns.add()){
  with(dialogRows.add()){
   with(dialogColumns.add()){
    staticTexts.add({staticLabel:"File name:"});
   }
   with(dialogColumns.add()){
    var myFileNameField = textEditboxes.add({editContents:myLinkName, minWidth:200});
   }
  }
}
var myResult = myDialog.show();
if(myResult == true){
  var myFileName = myFileNameField.editContents;
  myDialog.destroy();
  myRenameGraphic(myLink, myLinkFile, myFileName);
}
else{
  myDialog.destroy();
}
}
function myRenameGraphic(myLink, myLinkFile, myFileName){
//A production version of the script would put up an error if the
//file cannot be renamed (for whatever reason).
myLinkFile.rename(myFileName);
myLink.relink(myLinkFile);
myLink.update();
}

Quick Apply is Cool

I’m not sure if you’ve noticed the new Quick Apply feature yet, but it’s one of those seemingly small things that can really change the way you use InDesign. Want to apply a style—any style; a paragraph style, a character style, or an object style? Press Command-Enter/Ctrl-Enter. A small window pops up at the upper-right corner of your InDesign screen. Type the name of the style you want to apply (as you type, InDesign will present likely style name matches), or use the arrow keys to select a style. Press Enter, and InDesign applies the style to the selection.
Quick Apply is so useful that you might consider renaming your styles to take better advantage of it. “Heading 1” can become “h1,” “para” can become “p,” and so on.

Quick_apply_b

Text Macros

Do you find yourself typing a phrase over and over again? A phrase that you’re really tired of typing? If so, did you know that you can use InDesign CS2’s Autocorrect feature to make your life easier?
Let’s say you frequently have to type the phrase “H.M.S. Pinafore, or, The Slave of Duty” in your documents. It’s an irritating and awkward phrase to type, as it includes more changes in capitalization and punctuation than run-of-the-mill body text. Wouldn’t it be great to reduce the number of keystrokes it takes to type this phrase?
Try this:
1. Open the Autocorrect panel of the Preferences dialog box (and turn on Autocorrect if it’s not already on).
2. Click the Add button. InDesign displays the Add to Autocorrect List dialog box.
3. Enter a short phrase that you would not type in normal circumstances—something like “xa” will work well—in the Misspelled Word field, and then enter the “problem” phrase in the Correction field.
Autocorrect_tip_a_1

Autocorrect_tip_b_1

4. Click OK to close the dialog box. InDesign adds the item to the list of words used by Autocorrect. Click OK to close the Preferences dialog box.
Once you’ve done this, every time you type “xa” (or whatever combination you’ve entered for your shortcut), InDesign will insert the phrase. You’ve just reduced a large number of keystrokes to two.

Autocorrect_tip_c_1

Autocorrect_tip_d_1

What not to use INX for

Do not use INX to deliver InDesign CS2 files to a printer or service bureau for final printing. I’ve heard many horror stories of printers who have only InDesign CS asking InDesign CS2 users to give them INX files for printing. This is not a good idea, because conversion is not perfect. Using INX to “save backwards” from InDesign CS2 to InDesign CS does a pretty good job of transferring the basic geometry of a document from one version to another, but there will be differences in the appearance of the file.

If your printer doesn’t have InDesign CS2, give them a PDF file, rather than an INX file. Using a PDF is best, in any case, because it freezes the layout as it appears on your system. This means that you don’t have to worry about the layout changing when it’s printed.

What the heck is INX?

InDesign CS and CS2 feature the ability to export files in the “InDesign Interchange,” or INX format. An INX file is an XML file that completely describes a given InDesign document. All pages, margins, guides, page items, text frames, colors, and anything else you can have in an InDesign document are included in the INX file.

Note that this is not the same as exporting XML from an InDesign document—in that case you’re exporting only the text data and any graphics that have been tagged as XML elements. No layout information is included when you export XML.

While the main use of INX is for saving files from InDesign CS2 in a form that InDesign CS can open, there are many other uses for INX. Because INX is based on XML, INX files can be manipulated using XML tools, such as XSLT. Because INX is a text file, it’s easy to store in databases. We’ve only just started to scratch the surface of all of the nifty things you can do with INX.

INX can also help “clean up” problem files in InDesign CS2—if you’re running into problems, especially with files that started their lives as QuarkXPress or PageMaker files, try exporting the document as INX and then opening that file.

So update, already

You’ve probably heard that InDesign CS2 can save files that can be opened by InDesign CS, but I’ve found that a lot of people don’t know that they have to update their copies of InDesign CS to make this happen.

To get the InDesign Interchange (INX) format reader for InDesign CS, you need to download and install the CS2 Compatibility update. To add to the confusion, this update has the same version number—3.0.1—as a prior update. Get the version dated April 2005 (you can download the file directly from adobe.com, or use the Adobe Update Manager), and your copy of CS will be able to read INX files exported from CS2.

Have Workspace, Will Travel

If you've tried Olav Kvern's reminder about using InDesign workspaces, you've probably become accustomed to a favorite workspace arrangement for your palettes. In a comment to Olav's blog post, Steve asked if it is possible to copy workspaces from one computer to another. The answer is yes and I thought it was worthy of its own post.


To copy a workspace you've built from one computer to another:

Locate the workspace .xml file in your Preferences folder.

For example, I found my workspace at:
"/Users/[user name]/Library/Preferences/Adobe InDesign/Version 3.0/Workspaces/myworkspace.xml"

Quit InDesign and copy this .xml file from your computer into the same path on another computer. Start InDesign and select your workspace from the Window > Workspace menu in InDesign.

Now you can use your preferred palette configuration without altering the existing workspace settings for any other users.

Recent Posts

InDesign Quickstart Guide


  • Combining the expertise of guru Sandee Cohen and the task-based, visual approach that has become the hallmark Peachpit's popular Visual QuickStart Guides, this volume provides a fast, easy, comprehensive introduction to everything InDesign.

InDesign Conferences

  • The 2005 InDesign Conference


    The InDesign Conferences are dedicated to supporting one of the industry's fastest growing application user communities. Get personal with the world’s premier experts, authors, trainers, and third party developers for 3 days of unparalleled Adobe InDesign training, tips, techniques and networking. Whether you are an InDesign novice migrating from PageMaker, Quark XPress or FrameMaker; or a skilled pro, you’ll be on the inside track to InDesign greatness!

InDesign Magazine

  • Take InDesign to the Next Level!


    InDesign Magazine is the first bimonthly PDF periodical devoted entirely to Adobe InDesign and to the growing community of InDesign professionals. With editorial direction by page-layout guru and author David Blatner and creativepro.com editor in chief Pamela Pfiffner, InDesign Magazine brings you the in-depth features, reviews, and tutorials you need to master Adobe InDesign.

Real World InDesign CS


  • Kvern and Blatner deliver industrial-strength techniques
    You'll find everything you need here to successfully master InDesign's advanced page-layout tools; manage color; create, link, and unlink text frames; and run your own custom InDesign scripts. You'll also find complete coverage of all of InDesign cs' new features