Re: [PD-dev] checking to see if another instance of Pd is running

2009-01-13 Thread Miller Puckette
This is a great idea. Generally, when launching pd from the GUI you are relinquishing fine control and the "natural default" is to use the same Pd process for everyone. cheers Miller On Mon, Jan 12, 2009 at 11:38:05PM -0500, Hans-Christoph Steiner wrote: > > I just found this snippet in the Tcl

[PD-dev] checking to see if another instance of Pd is running

2009-01-12 Thread Hans-Christoph Steiner
I just found this snippet in the Tcl/Tk docs (http://tcl.tk/man/tcl8.4/TkCmd/send.htm ) and it shows how to check if another instance of an app is running. > This script fragment can be used to make an application that only > runs once on a particular display. > > if {[tk appname FoobarApp] n