Max 5: get the patcher args, notify if changed?

Jan 10, 2009 at 9:17am

Max 5: get the patcher args, notify if changed?

How do I get a patcher box’s typed-in arguments?

In Max 4 I use an elaborate and fragile parentpatcher binbuf save and parse routine, but it was suggested at the time that this sort of thing would be a lot easier in Max 5, eh? I certainly hope so ;-)

Additionally, can I register for a callback or otherwise receive some notification if the user changes the patcher’s args?

Thanks…

#41623
Jan 19, 2009 at 10:35pm

It appears the jbox struct has a b_binbuf element that is really an atombuf, and that unlike Max 4, this contains valid box argument atoms. Excellent.

But the jbox struct is marked private – is there a utility method to return the b_binbuf?

Meanwhile, I’ll access it directly.

#148315

You must be logged in to reply to this topic.