Scripting AnyJ

The current API is intended to extend AnyJ (e.g. to create small helpers in the editor) or to integrate third party products (e.g. versioncontrol).

What you can do using scripts

What is used as Scripting Language ?

The scripting language is Java. In 4.0 we dropped the use of the 'Dynamic Java' java interpreter [memory leaks, performance]. Anyway existing AnyJ 3.x scripts are easy to port. Scripts can be developed interactively (without restarting AnyJ after each change).

Writing a Service (Menu Item)

A service is similar to an 'Action' in swing. A service shows up in the gui as a toolbar button or menu item. See the API javadoc for further explanation.

Accessing external .jars from your Script

All .jar file copied into the scripts directory are automatically added to a scripts classpath.

Predelivered Scripts

AnyJ comes with some sample scripts, among them a set of scripts making up a rather complete interface to the CCC Harvest version control system. Use these as examples to roll your own ..