Forums > MaxMSP

Suggestion – thispatcher script attribute

May 9, 2011 | 12:23 am

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


May 9, 2011 | 12:47 am

It should work. You might also consider using sprintf.

– Pasted Max Patch, click to expand. –

May 9, 2011 | 3:37 am

huh…

I must be doing something wrong in my patch.

Thanks
GW


Viewing 3 posts - 1 through 3 (of 3 total)