Forums > Dev

Attributes in 4.63 (not in contextual menu)

Dec 23 2009 | 10:54 am


I’m trying to get a object working with attributes that will work in both Max 4.63 and Max5. So far, I have this working up to a point but I have a couple of queries:

1 – In Max4 the attributes do not show up in the contextual menu – I get only the messages to the object – they do show up for other (jitter) objects. Is there a way I can get them to show up here? It’s not a show-stopper but it would be nice.

2 – It’d be cool if I could make the attributes saveable in Max5 – can I only way to do this using the Max5 API? I’m trying not to break out into two lots of code, so ideally i’d be able to compile against only one SDK and then run in 4 and 5 from the same .mxo – is this possible if I want to implement saving attributes in Max5.

Many Thanks


Dec 23 2009 | 3:28 pm

Hi Alex,

For the first question, it sounds like you simply need to add a message binding in your main() function for ‘quickref’. Here is a link to an old version of the code for (from Jamoma) which uses the Max4-compatible attribute API:

For attributes to be automatically saved with the patcher, yes, you have to use calls that are new as of Max 5.


Dec 24 2009 | 9:54 am

Hi Tim,

Thanks for that – vey helpful – will implement quickref (makes sense now – saw it in the docs but didn’t know what it meant) and decide whether to bite the bullet on a separate Max5 compile. I have a trick for packaging max 4 and 5 .mxos together into a single wrapper .mxo but it’s a bit of unnecessary bloat and hassle that I hoped to avoid….

BTW – are email updates from the forum now totally dead does anyone know?



Jan 04 2010 | 12:10 pm

This is a bit convoluted, but you could add a topic to your favorites (link at the top of this page) and then use the url for the RSS feed of your favorites to give an RSS-to-email service like Not sure how well that work, but it could be helpful…


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

Forums > Dev