Indiscripts

Tag : JavaScripting

How to Quickly Test a Sample Code

Sometimes you just need to test a short snippet without having to create and install a complete script. Suppose you want to check some object properties, or to evaluate a simple JavaScript expression. It is easy to write and interprete your instructions from the ExtendScript Toolkit, but it would be even faster to do the whole job from the InDesign user interface.

Continue reading...

Type your Code

JavaScript is often considered as a weakly typed language. It means —among other things— that we don't need to tell explicitly what kind of variables we handle, or what kind of arguments we provide to a given function. String? Integer? Boolean? In most cases, everything will work without ever declaring the type.

Continue reading...

Page 3 of 3 -