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

closebang Reference

Send a bang on close

closebang

Description

Sends a bang whenever the patcher window within which it resides is closed.

Examples

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

Arguments

None.

Attributes

Common Box Attributes

Messages

bang

Sending a bang message to a closebang object causes it to output a bang message.

closebang

Same as bang.

(mouse)

TEXT_HERE

Output

bang

Sent automatically when the patcher window is closed.

See Also

Name Description
Sharing Max Patchers Sharing Max Patchers
active
button
freebang
loadbang
loadmess
savebang