umenu adstatus checkitems - just can't make it work

Beep's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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?

laonikoss's icon

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).

Max Patch
Copy patch and select New From Clipboard in Max.

here's one way:

hope this helps :)

Beep's icon

Big help! Many thanks :)