Indiscripts

Tag : EventListener

Note on ScriptUI Mouse Events

ScriptUI provides a set of usual mouse events (mouseover, mousedown, mouseup, click…) which are of primary interest in responsive user interfaces (UI). Developers can add event listeners to any UI component that needs to respond accordingly when the mouse enters the scene. But handling such events requires carefulness if your script has to support both CS and CC environments.

Continue reading...

InDesign Scripting Forum Roundup #12

Hey scripters, are you familiar with InDesign events, event listeners, menu actions, idle tasks? That's the hot focus of the 12th ISFR. Plus a fine selection of threads and snippets involving GREP, text, CMYK swatches, IDML, transformations… Enjoy the ride!

Continue reading...

AutoStick | Simple Diagrams Made Easy

Duplicate and Link Text Frames by just typing magic keys.

Continue reading...

‘Sprite’ Buttons in ScriptUI [UPDATE]

A sprite usually refers to a primary image which is integrated in a larger scene. The term was popularized by Dave Shea in his 2004 article “CSS Sprites: Image Slicing’s Kiss of Death” which describes how to render the multiple states of a button or icon from a single composite image. I discovered that we can derive this technique to create attractive buttons in ScriptUI 4.0 and later…

Continue reading...

How to Implement a Basic Action Listener in InDesign

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...

Continue reading...

How to Create your Own InDesign Menus

The InDesign Menu Model.

Continue reading...