You can automate series of tasks by writing macros. Macros are written in JavaScript and executed in SmoothCSV Application.

Macros would be executed through Rhino, which is an implementation of JavaScript written in Java.

There are basically 2 ways to create macros.

Global Variables

You can use the following global variables.

Global scope itself can be accessed by the name global.

Macro API

Open Macro API (Javadoc)

Note: SmoothCSV’s macro APIs are implemented in Java, though macro scripts themselves are written in JavaScript.