AUTOMATING INDESIGN TABLES

SCRIPT TO THE RESCUE Recently I was given a project that involved creating a table–a big table that would involve many pages. The text for the table had been prepared, I was told, using tab/return delimited text. Not everything that I do in InDesign requires using a script, and this project looked like a typical […]

ADOBE INDESIGN DO SCRIPT II

WORKING WITH DO SCRIPT In our previous blog we explored the concept of passing arguments to a script written for do script. Although you can send any reasonable number of arguments to a do script, for the sake of simplicity, we limited the number of arguments to one: AppleScript set myArgs to {“John”} set myScript […]

INDESIGN’S DO SCRIPT: DEEPER DIVE

DOSCRIPT WITH ARGUMENTS In our blog of May 7 (this year) we touched on the subject of using doScript in AppleScript to call an InDesign method in ExtendScript (JavaScript). This was needed to get around a problem with InDesign’s align/distribute method with AppleScript. The focus of this blog was to show how a script residing […]

ADDING PAGES TO INDESIGN DOCUMENT

ADDING PAGES TO DOCUMENTS When you add a page to a document using a script, you can specify whether the page will be added to its beginning or end. You can also specify that the page will be added before or after a referenced page. AppleScript tell application “Adobe InDesign CC 2015” set docRef to […]

WORKING WITH DO SCRIPT

SELECTION KEY OBJECT In our previous post we touched on a problem that exists with AppleScript. This has to do with align and distribute when there is a selection key object. So what is a selection key object? It is a member of a selection the user has double-clicked to make it the key. Selection […]

AUTOMATING ALIGN AND DISTRIBUTE IN INDESIGN

ALIGN AND DISTRIBUTE You have a number of items in a document that you want to space out evenly. Of course, you know how to go into Indesign’s align panel and check the appropriate options. But what if you were to want to include distribution as part of a script? The syntax for distribute is […]

AUTOMATING PAGE ITEM RESIZING IN INDESIGN

RESIZING PAGE ITEMS This week we will take a little detour from working with XML to address an issue that was posted to Adobe’s InDesign Scripting forum. The issue involves a solution that in one form or another may be something that can be useful to just about any hard-working designer: changing the geometry for […]

AUTOMATING XML IN ADOBE INDESIGN IV

XML FOR BUSINESS Business cards, that is. In this week’s blog post we will use what we have learned about XML and Adobe InDesign to create a project for printing business cards 8-up on a page. The cards will be “butt-cut” meaning that there is no trim provided between the cards. As we have seen […]

AUTOMATING XML IN ADOBE INDESIGN III

POWER WITH PURPOSE An overpowering reason for using scripts to automate working with XML comes from the wide variety of methods that can be used for importing as well as placing the XML. Much depends on the type of document you will be working with. How InDesign works with images depends largely on the type […]

AUTOMATING XML IN ADOBE INDESIGN II

CONTINUING WITH XML In our previous blog post we introduced the idea of using an XML file to define the elements for an InDesign document. If you followed the steps outlined in the post you should have ended up with a script that will do the following: create a document from a template chosen by […]