Forums > Dev

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

Jan 10 2009 | 9:17 am

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?


Jan 19 2009 | 10:35 pm

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.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Dev