XML technologies / ePUB / ePub für (In)Designer / Repeated tasks / Installing scripts

(Excerpt from “ePub für (In)Designer — Mit InDesign Schritt für Schritt zum E-Book” by Sascha Heck & Yves Apel)

Programmers offer many useful free InDesign scripts, some cited in this book to simplify work. Do not worry if unfamiliar: most use JavaScript and run on Windows and Mac OS. AppleScript runs only on Apple, Visual Basic only on Windows. An InDesign JavaScript is a small text file ending .jsx, .jsxbin (binary-encoded) or .js.

To install scripts, open the Scripts panel through Window → Utilities → Scripts. Application contains preinstalled scripts. Select User, then choose from the panel’s top-right menu Reveal in Finder (Explorer). This opens the folder at a long path (for example on Mac: User → Library → Preferences → Adobe InDesign → Version 7.5 → de_DE → Scripts → Script Panel).

InDesign Scripts panel

Figure: InDesign Scripts panel.

Open Script Panel and copy the downloaded script into it. It becomes available immediately in InDesign and starts with a double-click.

Script as code

Sometimes you have code rather than a script file. Copy all of it into a text editor, not Word. Better still, use Extended Script Toolkit, installed with Creative Suite or downloadable from adobe.com. Paste into a new document and save as ASCII plain text ( text only), with a meaningful name ending .js. Install it as described above.

  

 

 

 

back to top