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.

#65142
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.

#234810
Nov 9, 2012 at 10:16am

Clippings!

#234811
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.

#234812
Nov 9, 2012 at 5:35pm
#234813
Nov 9, 2012 at 11:55pm

Thanks, didn’t know it.

#234814

You must be logged in to reply to this topic.