Dynamic Inlets like in pack object
I was wondering how can I create a patcher / sub-patcher with dynamic inlets (decided by number of arguments) like the 'pack' object?
Have a look at the script messages for object creation in the thispatcher help file. I've never tried, but it's probably possible! Also check out the patcherargs object for arguments. You can also use the #1-#9 variables in objects. #1 will get replaced by the first argument etc....
Max Patch
Copy patch and select New From Clipboard in Max.
try this. save it as something and then give it an argument of 2-6. (i learnt this trick by looking at emmanuel jourdan's ej.mout~ abstraction, to give due credit)