Comparing the Performance of ExtendScript Snippets
June 23, 2011 | Tips | en
Although jsPerf is a very effective tool in a pure JavaScript environment, you may want to benchmark competing code snippets in the specific ExtendScript field. Here is a simple way to test and improve your InDesign scripted functions…
Comment paramétrer les espaces dans InDesign
May 16, 2011 | Extras | fr
Le contrôle des espaces (chasse, justification, etc.) est le lieu d'une divergence historique entre XPress et InDesign. Tandis qu'InDesign propose une douzaine d'espaces distinctes qui semblent emprisonnées dans leur sémantique Unicode, XPress a souvent été considéré comme un outil plus flexible du fait qu'il ouvre à l'utilisateur le pouvoir de définir lui-même les valeurs d'espacement et les plages de variation dont il a besoin. Cependant, le déficit d'InDesign n'est pas aussi définitif qu'il y paraît…
Permutation d'objets dans InDesign (miniscript)
April 19, 2011 | Tips | fr
Non sans témérité, Stéphane Baril et David Deraedt nous ont récemment accueillis sur le plateau diététique de « Chips & Tips » (défunte série d'Adobe.tv). Au détour de cet épisode, Loïc Aigon et votre serviteur proposions une sorte de préambule aux techniques d'automatisation et de scripting dans la Creative Suite, avec quelques illustrations simples et directement accessibles aux néophytes. On y découvrait notamment la version embryonnaire du script SwapItems utilisé pour permuter des objets dans une maquette InDesign…
So What's New in InDesign CS5.5 Scripting DOM
April 11, 2011 | Extras | en
The interesting thing about tracking Scripting DOM changes from InDesign CS5 to InDesign CS5.5 is that this instantly reveals the main innovations of this ‘mid-cycle’ release —so that scripters can easily focus on the freshest features. The below PDFs offer you in a snap the tip of the iceberg: the new Article component and a bunch of new export options (HTMLExportPreference, EPubExportPreference, StyleExportTagMap, ObjectExportOption) that indicate the much greater integration of InDesign EPUB and digital publishing capabilities. Enjoy!
• See also: “So What's New in InDesign CS5 Scripting DOM”
InDesign Scripting Forum Roundup #1 (25 sticky posts)
March 07, 2011 | Snippets | en
The InDesign Scripting Forum is an ideal place to post scripting recipes and to address technical issues. I learn a lot from its famous contributors — Dave Saunders, Harbs, Jongware, Peter Kahrel, Kasyan Servetsky, Marijan Tompa… At odd times I post my own brainchilds. Here is a small selection of snippets and topics that I think are worthwhile.
Introducing IndexMatic²
February 26, 2011 | IndexMatic² | en | fr
IndexMatic² for InDesign is an indexing tool for those of you who make books or long documents in InDesign. This new version is derived from two scripts I've worked on several years ago —formerly IndexBrutal and IndexMatic 1,— but the code has been entirely redesigned to offer new features and higher performance…
Report Page Hyphens 2.0 (beta)
January 29, 2011 | Snippets | en | fr
In May 2010, Loïc Aigon and I have written the first draft of ReportPageHyphens, a quite basic script which is used to inventory all unattractive hyphens that occur between two pages. The preliminary version of RPH has been released in Scriptopedia and was supposed to work in InDesign CS4. Since then we have found several bugs and issues. Some of them have been reported in Scriptopedia's comment page, or in the Adobe InDesign forum. The main user request was that the script can also identify unwanted hyphens that appear in footnotes. Should we try a new approach?
Wordalizer | Frequently Asked Questions [OBSOLETE]
January 11, 2011 | Wordalizer | en | fr
This FAQ is now obsolete. Please check out the new version of Wordalizer.
How to Implement a Basic Action Listener in InDesign
January 04, 2011 | Tips | en
While Photoshop has a handy Actions panel that gives you the ability to record and playback simple operations, InDesign provides no way —without scripting!— to automate those daily repetitive tasks. But, hey!, why not use a script to mimic such action manager? This is my very first step in that direction...
ScriptUI Challenge: JPEG Links Explorer
December 13, 2010 | Snippets | en | fr
To be quite honest, I do not believe for a second that this script has a future! JpegSplorer for InDesign is nothing but an attempt to push ScriptUI to its utmost limits...
My First Extendables’ Script for InDesign
November 11, 2010 | Snippets | en
A few days ago, Stijn Debrouwere has disclosed Extendables, an unprecedented open source framework for Adobe ExtendScript. So exciting! This project will interest many script developers, especially those dealing with InDesign. “If you're doing any serious scripting, Extendables will definitely make your life easier,” Stijn said. “It includes some of the newer Javascript 1.6+ Array methods like forEach, useful shortcuts/monkeypatches and modules for logging, HTTP connections and creating user interfaces.” I tested for you this yet young but already powerful scripting catalyst.
Alphabetical Sort in JavaScript (and InDesign)
October 26, 2010 | Tips | en | fr
Surprisingly, JavaScript offers no easy way to alphabetize words in relevant order. Although the Array.sort() method is known to perform, by default, a lexicographical sort, you will find very quickly that the result is wrong in most real-life situations. Actually, the internal mechanism of JS sorting is confined to compare Unicode characters by their code points, so 'Z' (U+005A) comes before 'e' (U+0065), which itself comes before 'ç' (U+00E7), etc. Also, you have all noted with vexation that InDesign does not offer any alphabetical sort feature! Here is an experimental tool to help restore order in Latin alphabets.
BookBarcode 2.03 Now Supports Batch Processing!
September 05, 2010 | BookBarcode | en | fr
Today we have a new release of our barcode manager script that fully supports InDesign CS3/CS4/CS5 and includes an (exciting) requested feature: Batch Processing. If you purchased a PRO license for the previous version you can update BookBarcode for free using your private link. To newcomers, the TRY version has been updated too. Now let's see how to make it really fun to design barcodes in InDesign. . .
50 InDesign Scripts and Tools for End Users
August 29, 2010 | Extras | en | fr
What's in my Twitter bag from the last eight months? A lot of links, of course! The below selection only focuses on some of them —not necessarily the most popular ones, but preferably the ones you may have missed.
YALT 2 | Your Scripting Localization Engine
July 24, 2010 | YALT | en | fr
In August 2009, we introduced YALT —“Yet Another Localization Technique”— as an alternate way to manage multilingual strings and automatic localization in our InDesign scripts. I use it in my everyday projects and I definitely abandoned the native ExtendScript L10N feature, which I believe is too restrictive and not so clever. YALT is a lightweight, quickly includable and easy-to-use tool. Month after month I improved the snippet with the result that it now has nothing to do with the original version! Maybe it's time to share YALT 2.1 with you. . .
On ‘everyItem( )’ – Part 2
July 19, 2010 | Tips | en
In the previous episode we learned that every scripting DOM object is in fact an object specifier, which acts like a path in the InDesign object tree. Collection's methods only allow us to build object specifiers. Invoking a property or a method provided by a specifier causes InDesign to send a “verb-first command” to the underlying receiver(s). We will now consider how this process impacts your code, what is returned into your script and how to deal with some side effects.
Composer en arabe sous InDesign CS4
July 13, 2010 | Snippets | fr
Comme l'avait souligné Thomas Phinney dans son célèbre billet « World-Ready Composer in Adobe CS4 », InDesign embarque depuis 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.
« previous entries - Page 11 of 13 - next entries »






