Archive for July, 2010

Saving script data within document

There is good way to store data within document elements. We can store very long text data into almost every element within InDesign. Data is only visible through scripting, and also can be set just through scripting. This is great way to carry document specific data everywhere we go, because data we set is saved into document. So, let’s see how we can use this great feature.

Read more…


Get network adapter Name/MAC/Speed

Yesterday we had example how to read IP/Gateway with help of VBscript. Todaw we will try to get Adapter info and MAC address. On some systems, I don’t know why, but adapters are duplicated, so you can later convert values to array, and delete unwanted ones.

Read more…

Extended undo/redo

Are you frustrated with lack of History palette in InDesign? Did you know that you can retrieve undo/redo commands from script? 😕 Yeah! That’s right! It’s really easy to achieve History palette functionality with some easy script. I created really simple dialog with two drop-down boxes and undo/redo buttons. 😉 Let’s first how to get list of undo/redo commands that we have available.

Read more…

Get Local/Gateway IP Addresses

Two days ago, on Adobe’s InDesign Scripting forum I had found question about retrieving Router IP address. Post is based on MacOS/Applescript, and I decided to find solution for Windows 😀 It’s combination of VBscript and JavaScript. Let’s get started.

Read more…

Change cursor key keyboard increment

For many years I worked just with CorelDRAW and one thing I really liked and I used to was changing cursor key keyboard increment. Unfortunately InDesign doesn’t allow me to change that setting, without going into Preferences. So, I decided to try to create script, with simple dialog box where I can input number, and change setting. This was my very first InDesign script 😀

Read more…

Selecting multiple table rows/columns

Here is short script for selecting multiple rows in table. This will create ‘visible’ selection. This script is also published on Adobe’s InDesign scripting forum but I found some parts on other sites too.

Read more…

Rounding numbers in JavaScript

Very often we need to round some numbers, and Javascript has function to round numbers, but sometimes it’s not working very good. Luckily we can round number through math functions. First, let’s see how to use built-in Javascript functions. This script was also published on Adobe’s InDesign scripting forum. I collected some more info’s and combined them all into this post.

Read more…

Categories: InDesign Scripts Tags: