[PD] Closing patches via pd message

Piotr Majdak piotr at majdak.com
Thu Sep 15 09:46:56 CEST 2005



Miller Puckette wrote:

> Yep, try "menuclose 1".

Thanks!

> 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;(

br, Piotr


-- 
Piotr Majdak
Institut für Schallforschung
Österreichische Akademie der Wissenschaften
Reichsratsstr. 17
A-1010 Wien
Tel.: +43-1-4277-29511
Fax: +43-1-4277-9296
E-Mail: piotr at majdak.com
WWW: http://www.kfs.oeaw.ac.at






More information about the Pd-list mailing list