Pd-L2Ork offers -unique startup flag that leverages Tcl/Tk's ability to share variables across multiple apps. By default it tries to open patches in an existing instance to prevent newcomers who tend to open patches by double-clicking on icons from opening multiple instances of Pd-L2Ork and thereby getting confused by the existing patches (if any) not communicating with the new one (e.g. via sends and received) or having two consoles. With some minor modifications, this should  be also able to do the same per patch  Please feel free to copy/port, as needed.

Best,

Ico


-- 
Ivica Ico Bukvic, D.M.A.
Interim Assoc. Dean, College of Liberal Arts and Human Sciences
Creative Technologies in Music
Director -- DISIS, L2Ork
ICAT Senior Fellow
Virginia Tech
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico@vt.edu
liberalarts.vt.edu
www.performingarts.vt.edu
disis.icat.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net

On Sat, Sep 22, 2018, 17:30 Miller Puckette <msp@ucsd.edu> wrote:
I guess the least annoying of all would be to revery back to the way it
was, and then to add an "open-unique" message to pd for anyone who wants
this behavior (apparently not many do).

cheers
Miller

On Sat, Sep 22, 2018 at 11:26:48PM +0200, Roman Haefeli wrote:
> On Sat, 2018-09-22 at 23:11 +0200, Christof Ressi wrote:
>
> > OTOH, I kind of agree with the others that I never thought it was a
> > problem that you can open the same patch several times...
>
> Me neither. I do think it should be allowed one way or the other.
> Having to use a flag for it (probably the least annoying option) is
> still slightly annoying.
>
> Roman



> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list




_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list