How to know if max msp is in edit mode or no ?

djlbe's icon

hi !

i use a little patch for use my computer keyboard as a midi keyboard but when i'm in edit mode i don't want to send note so i need to know when max msp is in edit mode ? there is a way for that?

thanks

David Butler's icon

Try turning the show grid option on. The grid will disappear when you leave edit mode.

djlbe's icon

Thank you nicolas !

Roman Thilenius's icon

i use background colors im max 4. light grey is closed, white is editable :)

djlbe's icon

nice trick roman, Nicolas, I'm on windows unfortunatly so I can't use your quebec oject but is there possibility to know if a windows patch is focused or no ?

djlbe's icon

the active object okok

$Adam's icon

I think the OP was referring to a way to know programmatically when the patch gets locked/unlocked, otherwise the question wouldn't make much sense. It's indeed weird that there's no standard object for this, however, you may try recompiling [quebec] for Windows.

Cheers,
Ádám

Emmanuel Jourdan's icon

There's js ej.lock.js in the ejies which should do more or less what quebec does.

dhjdhjdhj's icon

Never mind --- I see that quebec source is available from a separate git.
Very cool.
Thanks

-----
even transfer ownership