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

suspend

Reports when application is suspended or resumed

Description

suspend reports Mac OS suspend/resume events. The behavior is emulated on Windows.

Arguments

None.

Information for box attributes common to all objects

Output

int: Out left outlet When the application is suspended (made to go into the background), a 1 is output. When the application is resumed (restored to being in the foreground), a 0 is output.

Examples

suspend lets you activate/deactivate processes if Max is the foreground application

See Also

Name Description
active Send 1 when patcher window is active, 0 when inactive
gestalt Inquire about the current system