[PD] a patch closing itself

Hans-Christoph Steiner hans at eds.org
Tue Nov 6 18:46:29 CET 2007


Hmm, maybe there could be a "closeme" message in Pd, you send [; pd  
closeme pd-test.pd 1( , then Pd will close that window safely...

unless people think it's feasible to get menuclose working on the  
patch itself.

.hc

On Nov 5, 2007, at 10:24 PM, marius schebella wrote:

> I think that causes pd to crash. you have to send the message to  
> some parent patch, together with the name of the patch, that should  
> be closed, and do the menuclose from there with a dalay 0.
> marius.
>
> Hans-Christoph Steiner wrote:
>> I just thought of a very useful reason to be able to use  
>> [menuclose ( to close the current patch.  If we replace things  
>> like the find  panel, preferences, etc with pd patches, then they  
>> should be able to  close themselves so you can do things like bind  
>> Return/Enter to "OK"  and Esc to "Cancel".
>> Has anyone found a way to do this?
>> .hc
>> --------------------------------------------------------------------- 
>> --- ----
>> If nature has made any one thing less susceptible than all others  
>> of  exclusive property, it is the action of the thinking power  
>> called an  idea, which an individual may exclusively possess as  
>> long as he keeps  it to himself; but the moment it is divulged, it  
>> forces itself into  the possession of everyone, and the receiver  
>> cannot dispossess  himself of it.            - Thomas Jefferson
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list



------------------------------------------------------------------------ 
----

Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.    -William Carlos Williams






More information about the Pd-list mailing list