Check out [singleton] and search the archives for discussions on that:

http://lists.puredata.info/pipermail/pd-list/2007-03/048424.html

.hc

On Mar 23, 2008, at 4:13 PM, best boy wrote:

hi
thanks for your help.
i checked out nopoly4 and polypoly, but they both seem to be abstractions and are not very helpful in my case.
i need a working solution that prevents the user from creating more than one instance of an external i'm writing.
thanks anyway
olli


CC: pd-dev@iem.at
From: hans@eds.org
Subject: Re: [PD-dev] allow only one instance of external object
Date: Sat, 22 Mar 2008 23:43:23 -0400
To: ladataxi@hotmail.de


Check out nqpoly4 or polypoly, they are both included in Pd-extended and in SVN.

.hc

On Mar 22, 2008, at 11:33 PM, best boy wrote:

hi
is there a way to keep track of the number of opened instances of an external?
if so, can anyone point me to an example object?
thanks
olli


Kostenlos bloggen + eigene Homepage + Fotospeicher = MSN Spaces Kostenlos!
_______________________________________________
PD-dev mailing list



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

As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously.         - Benjamin Franklin




Jetzt dabei sein und Windows Live Mail testen. Windows Live Mail.



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

Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.  It's about as sensible to say we declare war on night attacks and expect we're going to win that war.  We're not going to win the war on terrorism.        - retired U.S. Army general, William Odom