script for defining a bpatcher (position, size and arguments)

Oct 3, 2009 at 2:18pm

script for defining a bpatcher (position, size and arguments)

Dear users,

How can one define the position (in presentation mode & in patching mode), size (in presentation mode & in patching mode) and arguments of bpatcher by script?

– Pasted Max Patch, click to expand. –

sincerely,
prko

#45715
Oct 3, 2009 at 4:22pm

Check out [thispatcher] and it’s help file, especially the part about Window messages.

#164833
Oct 3, 2009 at 4:48pm

you’ll have to use sendbox :

– Pasted Max Patch, click to expand. –

Charles

#164834
Oct 3, 2009 at 5:21pm

thank you very much,
prko

#164835
Oct 3, 2009 at 8:59pm

however, how can I define the argument of a bpatcher?
In the inspector of bpatcher, I see the argument(s).

best,
prko

#164836
Oct 4, 2009 at 8:35am

(unless that has changed in max5) you can find that out by
creating one with arguments and looking at the code it produces.

#164837
Oct 4, 2009 at 10:50am
prko wrote on Sat, 03 October 2009 14:59
however, how can I define the argument of a bpatcher?

with max5 you can do :

script newobject bpatcher @varname myBpatcher @args truc 256 @presentation 1

#164838
Oct 4, 2009 at 10:55am

thanks a lot!
It was exactly what I want to know!

#164839

You must be logged in to reply to this topic.