Site logo

Useful snippets

InDesign

Backup before save by Marc Autret

Check required function by Kasyan

Cross reference — remove x-ref sources

Get or set clipboard (external library)

DPS article

Font

Functions for InDesign

Group Add Items by Marc Autret — Easily add PageItems to a Group

Increment

Label

Link

Menu item

Override all pageItems function

Script UI

Shell scripts (running from JS)

Swatch (Color)

Text Sort Paragraphs by Marc Autret — Quick paragraph sorter

Uncategorized

Version

Photoshop

Functions for Photoshop

Bridge

Hot folder listener

Excel

How to get data directly from Excel

ExtendScript Toolkit (ESTK)

ExtendScript Memory script by Marc Autret

Other

Clipboard

Array

Date & Time

File & Folder

Number

String

Uncategorized

UnitValue

Web

Libraries

Extendables by Stijn Debrouwere (the original site is unavailable anymore so I posted it on my site)

Xtools is a JavaScript toolkit that facilitates scripting Adobe Photoshop Photoshop has supported scripting since version 7.0 of the product. Each new version adds more and more capabilities for scripters.

Basiljs making scripting in InDesign available to designers and artists.