Indiscripts

Tag : JSXBIN

JsxBlind's New Version for ExtendScript Developers

JsxBlind 1.0 for ExtendScript CS4/CS5/CS6/CCJsxBlind 1.007 is available today—still for free—and now delivered in two formats: a standalone script (JsxBlindRun.jsx) that offers a quick and easy way to scramble a JSXBIN file straight from InDesign (as previously), and a “includable library” (JsxBlindLib.jsxinc) that provides advanced options to developers who need to plug JsxBlind features in an automated workflow (ESTK extension, panel development process, or any custom framework.)

Continue reading...

JsxBlind | The First JSXBIN Obfuscator for ExtendScript

As Christmas is approaching I wish to share with the scripting community a very unexpected utility, which for legal reasons I can hardly tell anything detailed! Paradoxically, as you shall see, JsxBlind aims to protect script authors from being despoiled…

Continue reading...

YALT 2 | Your Scripting Localization Engine

YALT (JS Script for InDesign CS3/CS4/CS5)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. . .

Continue reading...

Binary JavaScript Embedment (CS4/CS5)

The jsxbin format (“Binary JavaScript”) is a boon for developers because it enables them to distribute a script without exposing its precious code. The ExtendScript ToolKit (ESTK) offers an Export to Binary feature which instantly converts a human-readable js(x) file into jsxbin. InDesign can then interpret this file as if it were a pure JavaScript. The only (boring!) problem is that the encoded script is not allowed to load a persistent session through the #targetengine directive. Here is a secret trick to bypass this limitation with a single encrypted file.

Continue reading...

Can InDesign Script Rewrite Itself?

As illustrated by the YALT technique, it's easy —and powerful!— to let a script read its own bytes while it is running. We could even go further and get a script to update itself to achieve some advanced functionalities.

Continue reading...