Suggestion – thispatcher script attribute

May 9, 2011 at 12:23am

Suggestion – thispatcher script attribute

Currently with thispatcher you can dynamically create new objects. You can also create new abstractions the same way. You can also create new abstractions with 1 or more argument(s).

But you cannot create new abstractions with a variable for the arguments. The current scripting message is something like this:
script newobject newobj @text "abstraction arg1 arg2"

I’ve tried using tosymbol and $1 after @text to no avail. It would be great if I could create an abstraction and include a variable for the argument.

Gw

#56987
May 9, 2011 at 12:47am

It should work. You might also consider using sprintf.

– Pasted Max Patch, click to expand. –
#204211
May 9, 2011 at 3:37am

huh…

I must be doing something wrong in my patch.

Thanks
GW

#204212

You must be logged in to reply to this topic.