-
-
Notifications
You must be signed in to change notification settings - Fork 100
Plugin and Presentation mode. Automatically on loading main patch #1788
-
I've searched for this but could find an answer and wondered if it is possible to open a main patch in Plugin or Presentation mode?
Looked at the manual but it doesn't seem to mention it. Am I missing something obvious?, or is it not implemented yet? Somethin in the main environment inspector maybe? If not it would be a nice touch when deploying larger patches.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 6 replies
-
Yes, this is possible, and no, you're not missing something obvious! This is a secret undocumented feature that really should be documented, sorry for that!
You can enter plugin mode by sending the "pluginmode" messages to "pd", like this:
#X obj 133 200 s pd;
#X msg 156 115 pluginmode;
#X connect 1 0 0 0;
The pluginmode message can also take an extra argument for the theme that must be loaded. This can be a theme name (like "fangs", "light", etc.) or a path to a custom '.plugdatatheme' file. This theme will only be applied temporarily, while you're in plugin mode. Hope that helps!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
👀 1
-
That is excellent news. That's perfect! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, does this feature still work? I have copied your patch and I am getting the message the "pd: unknown message pluginmode" in the console
Beta Was this translation helpful? Give feedback.
All reactions
-
This should still work yes. Which version are you using?
Beta Was this translation helpful? Give feedback.
All reactions
-
That is great !!!! Is there an opposite message to exit from pluginmode ?
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1
-
Not right now, but it would be neat if you could!
https://github.com/plugdata-team/plugdata/blob/develop/Source/PluginProcessor.cpp#L1497
Beta Was this translation helpful? Give feedback.
All reactions
-
Here is a PR :-) #1858
However, wouldn't it be better if those messages were sent to a named canvas (like editmode message) instead of global pd receiver ?
Beta Was this translation helpful? Give feedback.
All reactions
-
It works better for me this way.
Beta Was this translation helpful? Give feedback.