loadmess Reference

Send a message when a patch is loaded

loadmess

Description

Outputs a message automatically when the file is opened, or when the patch is part of another file that is opened.

Examples

The same thing as loadbang and a message box for extremely lazy people...

Arguments

message [symbol]

Any arguments you type into a loadmess object are treated as a message to be sent when output is triggered.

Attributes

defer [int] (default: 0)

When enabled, the output of the loadmess object is deferred.

Common Box Attributes

Messages

bang

Sending a bang message to a loadmess object causes it to output its typed message.

(mouse)

Double-clicking on a loadmess object causes it to output its typed message.

set

Arguments

message [list]
The word set followed by any message will set the message held by loadmess without any output. (Can be used for output in conjunction with bang.)

Output

symbol

The loadmess object's typed message is sent automatically when the patch is loaded. As with the loadbang object, you can also cause loadmess to send out its message by double-clicking on it in a locked patcher, or by sending a loadbang message to a thispatcher object in the same patcher. Holding down the Shift and Command keys on Macintosh or Shift and Control keys on Windows while a patch is loading prevents loadmess objects in that patch from sending any output.

See Also

Name Description
Sharing Max Patchers Sharing Max Patchers
active
button
closebang
freebang
loadbang
thispatcher
savebang