umenu adstatus checkitems – just can't make it work

Apr 6, 2013 at 7:25pm

umenu adstatus checkitems – just can't make it work

Hi everyone, quick problem. I’ve been using [adstatus option 0] to populate a umenu with input devices. Now i would like to add a check mark next to the previously select item using the “clearchecks, checkitem $1 1″ command. It doesn’t seem to be working, [adstatus option 0] seems to clear the check mark. I’ve tried changing the output order with [trigger] but that doesn’t seem to make a difference. Is this possible?

– Pasted Max Patch, click to expand. –
#67571
Apr 6, 2013 at 11:49pm

easiest way is to bang the (checkitem) message after [adstatus] has finished (and because [adstatus] clears the marks, there is no need to clear them yourself also).

here’s one way:

– Pasted Max Patch, click to expand. –

hope this helps :)

#243154
Apr 6, 2013 at 11:53pm

Big help! Many thanks :)

#243155

You must be logged in to reply to this topic.