A newer version of Max is available. Click here to access the latest version of the Max documentation

JavaScript Usage In Max

Max provides access to certain elements of the software through JavaScript. JavaScript is a language designed to control the software in which it is embedded, in this case, Max. Use JavaScript in Max with the js object to handle list processing, dictionary management, scripting patching tasks, manipulating Jitter objects. Make custom UI elements with the JSUI object. For Max For Live users, the LiveAPI object provides a means of communicating with the Live API functions from JavaScript.

Example Patches

File: Lists and Strings: Math: Patcher Scripting: Simulation: User Interfaces / JSUI: Canvas Usage: Mgraphics Usage:

See Also

Name Description
Javascript in Max Javascript in Max
Basic Techniques Basic Techniques
The Buffer Object The Buffer Object
The Dict Object The Dict Object
The File Object The File Object
The Folder Object The Folder Object
Basic Javascript programming: Global Methods Basic Javascript programming: Global Methods
The Global Object The Global Object
The Image Object The Image Object
Basic Javascript programming for the js and jsui objects Basic Javascript programming for the js and jsui objects
The LiveAPI Object The LiveAPI Object
The Maxobj Object The Maxobj Object
Basic Javascript Programming: The Max Object Basic Javascript Programming: The Max Object
MGraphics Quick Start Guide MGraphics Quick Start Guide
JS Painter Guide JS Painter Guide
The Patcher Object The Patcher Object
The PolyBuffer Object The PolyBuffer Object
JS Require Guide JS Require Guide
The Sketch Object The Sketch Object
The Snapshot API The Snapshot API
SQLite Database Access SQLite Database Access
The SQLite Object The SQLite Object
The SQLResult Object The SQLResult Object
The Task Object The Task Object
Javascript and Threading Javascript and Threading
jsui, Sketch and OpenGL jsui, Sketch and OpenGL
The jsui Object The jsui Object
The Wind Object The Wind Object
Tutorial 45: Introduction to using Jitter within JavaScript Tutorial 45: Introduction to using Jitter within JavaScript
Tutorial 46: Manipulating Matrix Data using JavaScript Tutorial 46: Manipulating Matrix Data using JavaScript
Tutorial 47: Using Jitter Object Callbacks in JavaScript Tutorial 47: Using Jitter Object Callbacks in JavaScript
Max JS Tutorial 1: Basic JavaScript Max JS Tutorial 1: Basic JavaScript
Max JS Tutorial 2: JavaScript Scripting Max JS Tutorial 2: JavaScript Scripting
Max JS Tutorial 3: JavaScript Tasks, Arguments, and Globals Max JS Tutorial 3: JavaScript Tasks, Arguments, and Globals
Max JS Tutorial 4: Designing User Interfaces in JavaScript Max JS Tutorial 4: Designing User Interfaces in JavaScript
js Execute Javascript
jstrigger Execute Javascript instructions sequentially
jsui Javascript user interfaces and graphics