Can trigger object send text with a space in it?

Bill 2's icon

This is something I've been meaning to ask for ages, but it's not a show stopper. Can a trigger object send, for example, "set 0" but without the quotation marks ? Like, is there some special (set of) character(s) that I haven't been able to find that represents a space? Or do I have to keep doing what I've always done, i.e. get the trigger object to send a bang to a message that says "set 0" (without the quotation marks)?

Rick's icon
Max Patch
Copy patch and select New From Clipboard in Max.

If I'm reading you correctly a [fromsymbol] after [t "set 0"] is what your looking for. Or...

Bill 2's icon

Thanks Rick - that does work, and I didn't know about the [fromsymbol] object. But my reason for wanting to do this is simply to make patches a bit neater. bang -> [t "set 0"] -> [fromsymbol] actually takes up more space than my old method of bang -> [t b] -> "set 0", unfortunately. (Of course, I'd have a few other arguments or there'd be no need to use the trigger object.)

My ideal (but apparently imaginary) solution would be something like bang -> [t set%200] or bang -> [t set\0], where %20 or \ is interpreted by Max as a space.

Roman Thilenius's icon

it takes more space ... thats what was thinking, too ... but ... why dont you encapsulate that thing in an abstraction. then you have your own trigger object for lists and the job is done with only one object.

p.s. mine works with up to only 9 arguments and builds the list internally on loadbang. this way you dont even have to to type the damn ´ symbols (most people dont even know where they are on the keyboard) ... [110.tl that is how it looks like]

Rick's icon

LOL even simpler bang a [pack set 0]

Rick's icon

never mind

Roman Thilenius's icon

that too in most cases. :)

Rick's icon

jstrigger (['set',0])

Bill 2's icon

Thanks for your input, guys, but I don't think my ideal solution exists, and the solutions that work aren't really better than the (what's barely a) problem.

"never mind" sums it up! :-)