Comme l'avait souligné Thomas Phinney dans son célèbre billet « World-Ready Composer in Adobe CS4 », InDesign embarque depuis la CS4 une ribambelle d'outils secrets capables de gérer l'écriture de droite à gauche propre à certaines langues, la bidirectionnalité et autres fonctionnalités qu'on pensait jusqu'alors réservées à InDesign ME. Ces goodies restent peu documentés mais sont déjà largement expérimentables grâce au scripting.
Snippets
Mini-scripts and short re-usable samples.ReFoot: Convert Markup Text into InDesign Footnotes
April 06, 2010 | Snippets | en | fr
Ok, we have a way to move back footnotes into our main story (see ‘UnFoot’, August 2009). Now is it possible to reverse the operation? More generally, how to convert markup text into footnotes through InDesign? Here is a simple ReFoot script for CS4++ users...
FlyingButtons: a Script to Automate PDF Portfolios
Dealing with Rotated Spread Views in a Script
March 10, 2010 | Snippets | en | fr
“Rotate the spread view” is a nice feature introduced in InDesign CS4. It will prevent you from getting a stiff neck when working on rotated contents such as book spine or landscape tables. Great! Now the bad news: it seems that the DOM does not provide any means to check a rotated spread by scripting. No property, no access method. So what?
Swapping and Reordering Pages
December 01, 2009 | Snippets | en
The InDesign Pages panel lets you manually rearrange the pages of your publication. To move pages around in the work document, it's just needed to click and drag the page icon(s) within the railroad —while paying attention to ‘shuffling’ effects! JavaScript allows you to automate the same handling, which can be very useful when you have a number of pages to switch.
Restoring the Footnotes into the Story
August 25, 2009 | Snippets | en | fr
The task of reinjecting the InDesign footnotes into your main text might seem unusual, but there are some circumstances where you will be happy to have the “UnFoot” script close at hand.
Take a Walk on the Timeline
July 06, 2009 | Snippets | en | fr
When he was working on the terrific Ibsen's “Brand” eBook, Klaus Nordby asked me for a little gadget to finish off the building of his work. He needed a “page-timeline-indicator” graphic at the bottom, which visualizes the exact place the reader is currently reading. So what the book designer wanted for Christmas (or before!) was a neat InDesign script which automatically calculates such a timeline walker and shows the input. Let us see how Klaus' prayer has been answered...
Web Color Picker
June 16, 2009 | Snippets | en | fr
InDesign is definitely not a solution for web designers. For example, look at the Swatches panel, isn't it the worst tool to select or create “web colors” in the #rrggbb hexadecimal format? Fortunately, the ScriptUI elements bring a way to build our own “Web Color Picker”, interacting with the swatches.


