Most of our example code is in Python, but Automation Option's XML/HTTP interface is easily accessed from other languages, such as JavaScript.
Consider this powerful nesting script, in Python:
Nesting from a Hot Folder
This is a rich example, using various parts of the XML interface to examine the status of a Print Queue, and ultimately to submit a layout for printing.
All the same functionality is demonstrated by this '.html' file, using JavaScript.
HTML/JavaScript Source Code |