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

closebang

Send a bang when patcher window is closed

Description

closebang sends a bang out of its outlet whenever the patcher window within which it resides is closed.

Arguments

None.

Messages

bang Internal-message. There are no inlets. Output occurs when the patcher window is closed.

Information for box attributes common to all objects

Output

bang: Sent automatically when the patcher window is closed.

Examples

Stop a process when window is about to be closed ...or turn off held notes and sustain pedal

See Also

Name Description
active Send 1 when patcher window is active, 0 when inactive
button Flash on any message, send a bang
freebang Send a bang when patcher is freed
loadbang Send a bang automatically when a patcher is loaded
loadmess Send a message when a patch is loaded