Archive

Posts Tagged ‘Peter Kahrel’

QuickTip: Find Object Properties Quickly

Finding properties in OMV (Object Model Viewer) can be really painful, and slow. Personally, my best friend when writing scripts is Theunis de Jongs (aka Jongware) InDesign JavaScript Reference Guide but also trying to remember connections between objects and when to use which property, class, method… But, there is also another way to find out what properties you can use, and it’s already built in. Key is in Object reflection! So, let’s take a look how to put it in use! 🙂

Read more…

News: ScriptUI for dummies by Peter Kahrel [PDF]

At last! Real ScriptUI manual is alive thanks to Peter Kahrel, all that wrapped up into search able PDF with example pictures on the side.

Here is part of announcement from Peter’s page:

ScriptUI is a module in the Adobe CS family (starting in CS3) with which dialogs can be added to scripts written in JavaScript. The module is included in each version of the ExtendScript Toolkit, and dialogs written in it can be used in scripts targetted at all CS applications. Though this guide deals only with InDesign as a target application, virtually everything covered here applies to scripts written for all CS apps too. This guide is for scriptUI only: it is assumed that you are more or less proficient in JavaScript.

Read more…

Categories: InDesign Scripts, News! Tags:

How to retrieve Text Variables

We are going to look at simple way to get all text variables. Important thing is that InDesign had two different lists of text variables. One list is stored in ‘app’ object, and another is in ‘document’ object. This is very important to remember! Part of this script was published on Adobe’s InDesign scripting forum by Peter Kahrel. So, let’s get started.

Read more…

Scrollable alert

This is very great and handy script! If you have lot of text or numbers, regular alert dialog just roll text out of the screen, and you can’t see them. Here is an example from “ScriptUI for Dummies”, which is a more useful version of alert: it shows text in a scrollable window. An additional advantage is that you can copy text out of the alert. This was posted on Adobe’s InDesign scripting forum.

Read more…