presentation mode property ?

Nat's icon

Is there a way to detect whether the user is in Patching or Presentation mode from JavaScript ?

Thanks.

Nat

Emmanuel Jourdan's icon
Nat's icon

Wouldn't be possible to make max.frontpatcher report this ? Basically the active patcher would report what mode it is in ?

It seems very import to me to have this feature.
For example, in my ToolBox I have a function to distribute objects in space that a lot of users rely on. To make it work in presentation mode I need to know what mode the patch is in...

Thanks,

Nat

maybites's icon

there is actually a way

this.patcher.getattr("presentation")