bpatcher with a preset height and width

Nov 8, 2012 at 4:10pm

bpatcher with a preset height and width

I like using bpatchers, but it’s tedious resizing them every time I put one on a page.

My usual workflow is:

  • new object
  • type out the name of my abstraction (this brings up autocomplete)
  • rather than pressing enter, prepend the object name with ‘bpatcher @name ‘, and then hit enter
  • resize bpatcher boundaries to fit the contents
  • maybe add a border

Is there any way to have all of this pre-set for me?

Hmm, I just saved all this as a prototype of bpatcher… but I fear this is going to get messy if every one of my abstraction prototypes is listed under bpatcher.

Nov 8, 2012 at 4:19pm

There is a little piece of javascript that you can put in a bpatcher that will automagically resize them to the viewable content.
A quick search for “bpatcher auto-resize” in the forum yield me this first result : http://cycling74.com/forums/topic.php?id=33551
… but search, there is more.

Nov 9, 2012 at 10:16am


Nov 9, 2012 at 5:34pm

ahh… so that’s what that clippings folder is for!

Just searched for ‘clippings’ in the Max help.

And you can put them in subfolders… I like it :)

Thanks for that woyteg.

Nov 9, 2012 at 5:35pm
Nov 9, 2012 at 11:55pm

Thanks, didn’t know it.


You must be logged in to reply to this topic.