active
Description
active will output a 1 when the Patcher window becomes active (i.e., it is the front-most window and its title bar is highlighted), and output a 0 when the Patcher window becomes inactive. You can use this to change the user interface of your window. For example, messages from the key object can be turned off when the window is made inactive.
Examples

Turn on a process or open a gate when the window is made active
Arguments
None.
Attributes
Common Box Attributes
Messages
int
Arguments
internal-messaging
[int]
There are no inlets. Output is triggered automatically when the patcher window is activated or deactivated.
Output
See Also
Name | Description |
---|---|
Sharing Max Patchers | Sharing Max Patchers |
closebang | |
loadbang | |
loadmess | |
savebang |