Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Plugin and Presentation mode. Automatically on loading main patch #1788

pereshaped started this conversation in Ideas
Discussion options

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.

You must be logged in to vote

Replies: 2 comments 6 replies

Comment options

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!

You must be logged in to vote
3 replies
Comment options

That is excellent news. That's perfect! Thanks!

Comment options

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

Comment options

This should still work yes. Which version are you using?

Comment options

That is great !!!! Is there an opposite message to exit from pluginmode ?

You must be logged in to vote
3 replies
Comment options

Comment options

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 ?

Comment options

It works better for me this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /