• Quick_apply_b
  • Autocorrect_tip_d_1
  • Autocorrect_tip_c_1
  • Autocorrect_tip_b_1
  • Autocorrect_tip_a_1
  • Pdf_layers_artwork_v2fpo
  • Star4
  • Pathfinder
  • Star3
  • Star2

« Quick Apply is Cool | Main | Scroll wheel-assisted zooming »



Hello Olav Kvern,
I've heard you are the scripting guru of InDesign.
Maybe you can help me out.
I'm looking for a way to show the page item associated to a selected xml element. I can't find anything in the AppleScript InDesign Guide. Even after finding the xml element it's not possible to use a whose clause to find the associated xml element. Can you put me on the way?
I'm also trying to import an xml file into an existing structure, but the only thing I get is that the xml element is added to the document. Even setting the xml preferences does not help. Can you please provide some working examples?



Any scripts for renaming multiple style sheets? Let's say to replace the prefix "L1_" in each style sheet with "L2_".

Is it possible?

Robin P Kurian

Dear All,
Can we duplicate all the contents (text frames, graphics, rectangles etc..) in a document with their all properties into another document through java/vb scripts.
Please help me!!

Thanks & Regards,
Robin P Kurian

Adam Nuccio

Hello Olav Kvern,

I tried your Rename/Relink Script and it work great. I would like to pay you to add some functionallity to the script.

I use "Link Renamer" Quark XT from Badiaxt.com to batch rename file for book titles created in Quark. I have been looking for something like this for Indesign.
The "Link Renamer" names each link according to the page it was found on + a custome prefix or sufix. example: bear.tif on page 5 is automatically renamed 005a_Book Title_bear.tif

If you are interested please contact me.

home- anuccio@charter.net 760-524-7411
work- adam.nuccio@disney.com 818-569-3206


Hello. Im looking for a script that would be similar to this. We are moving the folder that contains all of our inDesign files and need to change the paths of all the reference files. Any ideas of how to do this?

I basically need a script that can loop thru any number of files and change the paths of the files linked in that file.

Thanks for your help..

Amit Verma

Hi All,

See the online version of Indesign Scripting Reference at http://www.indesignscriptingreference.com

Brian Welsh

I have a daily directory of files that I would like to perform an insert text string operation on. I would like to find the first instance within the text file of REF: and insert 10 blank spaces before the next “*” in the file and then move to the next file until all files within the directory are finished.

Do you happen to know what code I can use for this?


i tried this, and it didn't work. not sure what i did wrong...


Hello Olav Kvern,
is there any functionallity added to the script like it is found in the LinkRenamer for Quark? See cooment from Mr. Nuccio.
Thanks for your answer.


Could you help me. I wrote myself a check for ten million dollars for acting services rendered and dated it Thanksgiving 1995. I put it in my wallet and it deteriorated. And then, just before Thanksgiving 1995, I found out I was going to make ten million dollars for Dumb & Dumber. I put that check in the casket with my father because it was our dream together.
I am from Czech and now study English, tell me right I wrote the following sentence: "High impact polystyrene case buy it more."

With respect 8-), Maxwell.

Marc O.

After completing a magazine redesign, we wanted to remove the word "redesign" from the style sheets. To do this:

1. Export the InDesign document as an InDesign Interchange (.inx) file.
2. Open the .inx file (which is just a bunch of XML code) in a text editor.
3. Search for "redesign" and replace with nothing. Save file.
4. Open the modified .inx file in InDesign and save as an .indd file.

Marc O.

One additional note: this technique works best with a blank InDesign file. Otherwise, in the example above, the word "redesign" would be removed from any text in the document.

You could probably use a more sophisticated search technique to get around the problem, but that wasn't necessary in our case.

generic viagra

relink a script is so annoying, I prefer to do the entire work again before fix a sole link.

international online pharmacy

I was looking for this information, thanks for put in this easy way, I mean in a easy way to understand it jajaja, well until the next time.

north face outlet

This is my first visit to your blog. We are starting a new initiative in the same category of this blog. Your blog gave us important information to act. You did a great job. http://www.xnfoutlet.org

The comments to this entry are closed.

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