I know about IEMGUT's [receivecanvas]
there's also [else/canvas.edit] which gives you specifically that.
but only for that specific canvas, in which the object resides.
A general method to query PD's overall editmode state would be great,
The problem is that this is a canvas specific message, but I guess you can use this information for a global on/off anyway.
maybe as a message to the [pdcontrol] object (like the "isvisible"
message) ?
BACKGROUND: I am controlling a quite intense PD patch with the keyboard.
Unfortunately all my keystrokes are also getting "read" when I'm in
editmode, causing quite a chaos (unless i deactivate the [key] object.
Would be great to be able to automate this.
[else/canvas.edit] and [receivecanvas] have a depth argument, so they can query the edit status of parent windows. This is what I use for something that is kinda like what you have and works for me.
cheers