ScriptUI for dummies

ScriptUI is a module in the Adobe CS/CC family (from CS2 in Photoshop, CS3 for InDesign) with which script dialogs can be added to scripts written in JavaScript. The module is included in the ExtendScript Toolkit, and dialogs written in it can be used in scripts targeted at all CS and CC applications. Though this guide deals mainly with InDesign as a target application, virtually everything covered here applies to scripts written for the other CS and CC apps as well. This guide is for ScriptUI only: it assumes that you are more or less proficient in JavaScript.

To my knowledge, the only documentation available on ScriptUI is a chapter in the file JavaScript Tools Guide CSn/CC.pdf (where n stands for a CS version), which is included with every version of the ESTK and can be found in the Help menu (in CS3, look in the SDK submenu of the Help menu). That chapter is a complete reference for the ScriptUI environment, but it is a bit short on examples here and there. The present guide does not repeat the full reference; rather, it should be seen as a companion to it.


Please do not post this guide on library sites such as or anywhere else on the web. The guide is updated from time to time, so you're doing no-one any favours by causing the continued existence of out-of-date guides.

Revision details v. 2.12 (May 2016)

1.0 First posted 12 Oct. 2010.

To download the guide, click here, then click the download icon (Download online ScriptUI guide) at the bottom right of the screen that's displayed next.

Useful guide?

Consider making a donation. To make a donation, please press the button below. This is Paypal's payment system; you don't need a Paypal account to use it: you can use several types/brands of credit and debit card.

Peter Kahrel's paypal account

Back to script index

Questions, comments? Get in touch