Read for Free
with Kindle Unlimited

Deliver to your Kindle or other device

Enter a promotion code
or gift card

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

InDesign CS5 Automation Using XML & JavaScript [Kindle Edition]

Grant Gamble
4.2 out of 5 stars  See all reviews (8 customer reviews)

Print List Price: $39.00
Kindle Price: $9.99
You Save: $29.01 (74%)
Kindle Unlimited Read this title for free and get unlimited access to over 700,000 titles. Learn More

  • Length: 522 pages (Contains Real Page Numbers)
  • Due to its large file size, this book may take longer to download
  • Prime members can borrow this book and read it on their devices with Kindle Owners Lending Library.
Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your email address or mobile phone number.


Amazon Price New from Used from
Kindle Edition $9.99  
Paperback $36.51  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

InDesign is now regarded as the industry standard in desktop publishing and is very widely used by publishing professionals and non-specialists alike. Many users have a pressing need for automation of their workflows but have been reluctant to get started because of the lack of a simple internal mechanism for recording steps, like Photoshop and Illustrator actions.
Instead InDesign relies on scripting which, for many InDesign users, may seem a little too much like hard work. In fact, InDesign comes with all the tools necessary for creating scripts and scripting is not that difficult--it can even be fun!
This book is aimed at the general user and provides an introduction to scripting InDesign, using JavaScript to create simple cross-platform solutions. It also gives a general introduction to XML, DTDs and XSLT, before showing how to automate the importing and exporting of XML data.

Learn proactively through step-by-step tutorials on creating JavaScript solutions: the "Try it for yourself!" approach allows you to see for yourself how scripts are put together.
Create scripts that manipulate text and images, build documents automatically and output them as interactive PDFs.
Become familiar with the InDesign object model: as you work through the book, you will make repeated use of the essential syntax for manipulating InDesign objects such as document, pages, text frames, graphics and preferences.
Create user interfaces to make your scripts more flexible and user-friendly. Rather than just creating scripts which always perform the same steps, you will learn to user ScriptUI to provide users with the ability to make choices that determine what the script will do.
Learn how to automate XML import and export and provide an interface which allows the user to filter import by supplying parameter values.

Editorial Reviews

About the Author

Grant Gamble is a developer and trainer based in London. He has more than 20 years of computing experience and has been building websites since the late nineties. He is a senior trainer at TrainingCompany.Com where he regularly conducts Dreamweaver training sessions and workshops.

Product Details

  • File Size: 21125 KB
  • Print Length: 522 pages
  • Page Numbers Source ISBN: 1460915380
  • Simultaneous Device Usage: Unlimited
  • Publisher: TrainingCompany.Com (September 11, 2013)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B00F4X1RKA
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Lending: Enabled
  • Amazon Best Sellers Rank: #474,865 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

Customer Reviews

4.2 out of 5 stars
4.2 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
4 of 4 people found the following review helpful
4.0 out of 5 stars So far, so good. March 21, 2011
Format:Paperback|Verified Purchase
I haven't finished reading the book (because I have to learn JavaScript and XML); However, I would like to say that for a person who has little inclination for learning javascript or any other computer language, the author explains it easily. If you need to learn Javascript and InDesign and XML, I would recommend this book as it cares to explain it in a logical manner. Also, the tutorials look relevant and it makes me want to go through them and really learn them as I realize I need to use those tutorials in my workflow. I will write a follow-up after I am done.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Learning it any way I can today March 28, 2011
By Jaime S
This is the statement that made me buy this book..." If you want to start using JavaScript and XML to automate InDesign, and are looking for clear and concise guidance on how it all works, this book is all you will need to get up and running." As someone who works on computers and dabbles with design, how often have you wanted to take the next step and were not sure how to create it. You try to take a beginners course only to find out you needed the next step since you already figured out how to do what they just taught you. Maybe you are looking for that reading material that gives you not only the ideas but the steps in order to make it happen.

If this sounds like you then this book titled "InDesign Automation CS5 Using XML And JavaScript" by Grant Gamble may be just what you are looking for and a very good reference book to add to your library. As you have been capturing your productivity you know you can open up hours of your time if you were able to automate the program. Yet, programming language is an art form that must be learned and not everyone jumps into this with both feet. It comes gradually until you know there is no way to move forward without it. Purchase this book and read the step by step instructions on how to move forward and you can be rewarded with time.

The time you save and the tutorials you complete as you learn the techniques will be an eye opening experience and something that you will refer back to when you have questions. Learn to "to manipulate and control key elements of the InDesign object model such as documents, preferences, master spreads, pages, page items, text frames, text, graphics, fonts, styles and tables." This is something that is becoming common place for all computer users.
Read more ›
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Working my way through this incredible source June 12, 2011
By Quentin
My company is planning to base its entire product catalogue for 2012 on XML data sources and I sure needed some help. Heck, I didn't know where to begin! InDesign CSS Automation Using XML & Javascript is coming through for me fortunately. I am making my way through the excellent tutorials and my progress is steady (although I am slow). I appreciate the precept-upon-precept approach and the clear way the author communicates. I found out about it at their InDesignSecrets Internet site and I am sure glad I did.
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Beware if you are not already a programmer July 22, 2011
By slc
Format:Paperback|Verified Purchase
I'm well into chapter 6 and I give the book, for myself, 5 stars. But I spent a full career as a programmer.

The good, for a programmer learning a new language: the book provides a clearly laid out introduction to javascript for InDesign with many scripts which if you take the time to type them in and run them do an excellent job of teaching the language and give a reasonable, usable introduction to the object model.

The bad (1): the scripts include a goodly number of programming errors (and I can't find where to report them!). For two examples, (a) there is a missing "var" in the first use of "i" in a "for" statement, and (b) several scripts check whether you are on a Windows computer by testing if $.os.indexOf("Windows") > 0 (but the os string returned on a Windows 7 computer begins with "Windows" and therefore the test returns 0 on a Windows computer as well as a Mac. One solution? check for "indows".).

The bad (2): Many of the methods are introduced without the author providing the full syntax. OK, if you go to [...] you will find all the information you need, but the book doesn't point you to it.

I'm a programmer and I find it educational to correct the scripts and natural to search for a full object model reference, so 5 stars for the book if you are a programmer. But if you are not a programmer you'll find it frustrating to try to make the scripts work.
Comment | 
Was this review helpful to you?

More About the Author

Grant Gamble is a developer and trainer based in London. He has more than 20 years of computing experience and has been building websites since the late nineties. He is a senior trainer at TrainingCompany.Com where he regularly conducts training sessions and workshops on Microsoft Office and the Adobe Creative Suite.


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category