Change live.menu attribute using javascript

kmll's icon

I have a live.menu object called sn_livemenu and when I open the inspector there are two attributes "enabled" and "ignore click" which I want to change to "false" using javascript. It would be very good if someone could please point me in the direction of the syntax I can use.

Lee's icon

hi.

try

this.patcher.getnamed( 'sn_livemenu' ).ignoreclick=1;

kmll's icon

Worked nicely - thanks!:)