Basic Tutorials
Technical details about basil.js
This tutorial explains where basil.js sits in comparison to Processing.
Installation and getting started
This tutorial explains how to install basil.js.
Syntax check: basil.js vs. Processing
This tutorial explains some JavaScript basics and shows the differences between writing in basil.js against using Processing.
Hello World!
The unavoidable hello world example.
Finding help
Standing on the shoulders of giants... as usual.
Drawing and colors
How to add new shapes to the page and create and use color swatches.
Page management
How to add, remove, count and manage the pages of your document.
Selection and Navigation
How to stroll around in the InDesign object model.
Moving around existing PageItems
This tutorial shows how to move around things (i.e. mostly of the type PageItem) that you have created in code or by mouse.
Modifying typography
How to change the appearance of InDesign text frames programatically.
Adding pictures
How to add pictures to your project using basil.js.
Getting Images from URLs
How to download images from the web and add it afterwards to a document.
Working with CSV files
How to read data from external files in CSV format.
Exporting to PDF
How to create hundreds of variation of a single InDesign project.