The Maxobj Object
The location of an object in a patcher. When the object's rectangle is changed, it will move on screen if it is visible. The coordinates are stored in the following order: left, top, right, bottom.
The Patcher object that contains the Maxobj
Is the object set to be hidden in a locked patcher?
If the object is set to use one of the standard 16 colors, this property is the index of the color
If there is another object after this one in the Patcher's list of objects, this property returns it, otherwise it returns a nil value
The patcher-specific name of the object, as set with the Name... dialog
Whether the object can be selected for text entry (a number box would be an example of an object whose canhilite property returns true)
Whether the object is in the Patcher's background layer
Whether the object ignores clicks
Whether the object is selected in an unlocked patcher window.
If the Maxobj refers to an object is of Max class js, this returns the associated jsthis object
Returns whether the Maxobj refers to a valid Max object
Maxobj Methods Overview
n.message("int", 23); //or n["int"](23);
The following methods are common to all Maxobj objects.
Sends the object the message specified by the string, followed by any additional arguments provided. This is useful for sending messages to object which dynamically dispatch messages with the “anything” message, as is the case for instances of js, jsui, lcd, and others.
Opens a help file describing the object, if it exists
Returns a Boolean value if the object has an entry in its message list for the message specified by the string. If the entry is not a message that can be sent by a user within Max (i.e., it's a C-level “untyped” message), false is returned. This doesn’t work for messages which are dynamically dispatched with the “anything” message, as is the case for instances of js, jsui, lcd, and others.