[PD] Closing patches via pd message
piotr at majdak.com
Thu Sep 15 09:46:56 CEST 2005
Miller Puckette wrote:
> Yep, try "menuclose 1".
> By the way, I'm thinking of adding an option to allow clean windows to close
> without objecting, but am not sure what form this should take.. I think it's
> best to default to the most careful policy, but there should be a "settings"
> panel to defeat that. Or possibly, the patch itself should somehow declare
> itself precious, otherwise closing it doesn't complain. Not sure which
> way to go with it yet.
For the cetrainty of not closing a patch during a performance or while
my patch records some important audio in a table, I'd like to put this
patch in a "security mode": ask me before closing regardless the changes
in the patch. For all other patches, I'd like to have a "normal mode",
which means: ask me in case of changing the patch, not data. This would
allow to use the help in a convienent way _and_ to have an additional
security mechanism to prevent unwanted losses if I want.
Maybe a pd message would do it? [; pd security-mode 1;(
Institut für Schallforschung
Österreichische Akademie der Wissenschaften
E-Mail: piotr at majdak.com
More information about the Pd-list