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 > > > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
