how to use patch list?

jj0b's icon

Hi,

I keep finding example patches on peoples websites in a sort of list format (see example below). How do I import this to MaxMSP so that I can use it? Also how would I output the same from my own patches?

example:

Max Patch
Copy patch and select New From Clipboard in Max.

Michael Sperone's icon

I wondered the same thing when I first saw one of those posted :)

you can simply copy all that text and paste it into a new patcher window in Max, and it magically turns from scary text code (scary for me, at least) into those familiar boxes and patch cords.

Going the opposite way, I think there's a save as txt option which you can use... there might even be a view as text, but I'm not so sure about that (if not, would that be a useful feature request?).

-Mike

jj0b's icon

Great! Thank you.

seejayjames's icon

indeed, if you copy even just parts of your patch via selection, then paste into any text editor or this forum, voila, code. So it goes both ways. Another neat feature is selecting all or a piece of a patch, copy, then "Paste Picture", which gives you a pic of your stuff (bounding box just big enough to fit everything).

If and when you upgrade to 5 (highly recommended!), you'd generally use Copy Compressed for transferring text of code, since the new JSON code is a lot more lengthy in how it describes objects than in max 4. So the Compressed makes it much more manageable, though in this case, truly incomprehensible :)

--CJ