Suggestion - thispatcher script attribute

gwsounddsg's icon

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

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

It should work. You might also consider using sprintf.

gwsounddsg's icon

huh...

I must be doing something wrong in my patch.

Thanks
GW