How to toggle comments on and off?
I want users of my artefact to be able to toggle a 'Help' function where, once they press it, lots of comments come up and if they press it again, all of the help comments disappear.
Toggle -> sel 1 0 -> left outlet -> Message box: "set Lots and lots of help info!" -> comment
-> middle outlet -> Messages box: "set" -> (same) comment
Send the comment the message:
hidden 0
or
hidden 1
This hides or shows the comment in the locked patcher.
Wow Nate - even better! But where is that documented?
The documentation is somewhat hidden, but if you open the full reference of the object there is a little dropdown menu called "Common Box Attributes" . This shows attributes you can set on most if not all objects.
Thanks Nate. I might never have found that.
These common box attributes seem to include many things that can be adjusted in the inspector. Handy to know! :-)