The Max object can be accessed as a property of a jsthis object (for more on jsthis properties, click here ). It is intended to provide control over the application environment.
The pathname of the Max application
The Patcher object of the frontmost patcher window, or a nil value if no patcher window is visible. You can traverse the list of open patcher windows with the next property of a Wind object.
1 if the currently executing Max application environment does not allow editing, 0 if it does.
1 if the user has disabled loadbang for the currently loading patch. If your object implements a loadbang method, it can test this property and choose to do nothing if it is true.
The name of the platform (e.g., “windows” or “macintosh”)
The current OS version number.
The current scheduler time in milliseconds - will be a floating-point value.
The version of the Max application, in the following form: "451"
Max Modifier Key Properties
1 if the command (Macintosh) or control (Windows) key is currently held down
1 if the control key is currently held down
1 if the option (Macintosh) or alt (Windows) key is currently held down
1 if the shift key is currently held down
For a list of current messages that can be sent to the Max object, refer to the Messages to Max topic.