live.comment Reference

Explanatory note or label (Max for Live)

live.comment

Description

live.comment displays text which is typed into it in order to serve as a label or explanatory text. The text follows Ableton Live's color scheme, if used in a Max for Live device.

Arguments

None.

Attributes

bgcolor [4 floats]

Sets the background color of the comment box in RGBA format. The bgcolor attribute is mapped to the clearcolor style color.

bubble [int] (default: 0)

Enable bubble comments

bubblepoint [float] (default: 0.5)

Bubble Arrow Point (0-1)

bubbleside [int] (default: 1)

Sets the side from which the arrow will originate on bubble comments.

Possible values:

0 = 'Top'
1 = 'Left'
2 = 'Bottom'
3 = 'Right'

bubbletextmargin [int] (default: 5)

Bubble Text Margin

bubbleusescolors [int] (default: 0)8.0.0

Turns on drawing the bubble outline and background in the comment's textcolor and bgcolor.

style [symbol] (default: )7.0.0

Sets the style to be applied to the object. Styles can be set using the Format palette.

suppressinlet [int] (default: 0)7.1.0

Suppress the display of an inlet.

underline [int] (default: 0)

Toggles underlining the comment's text. This value can only be set using the Underline setting in the live.comment object's Inspector.

Common Box Attributes

Messages

append

Arguments

message [list]
The word append followed by any message will set the live.comment object to display that message after any text which it already contains.

prepend

Arguments

message [list]
The word prepend followed by any message will set the live.comment object to display that message before any text which it already contains.

set

Arguments

message [list]
The word set followed by any message will set the live.comment object to display that message.

setwithtruncation

Arguments

message [symbol]
width [int]
suffix [symbol]
The word set followed by a symbol and a width (in pixels) will truncate the symbol to the given width. An optional third symbol will be appended onto the truncated text.

Output

(visual)

live.comment has no outlets, sends no output, and does not affect patch functionality.

See Also

Name Description
ubutton
textedit
message
textbutton
comment
Max Data Tutorial 1: Data Viewing Max Data Tutorial 1: Data Viewing