[PD] Substitute for unauthorized [playlist]?

patrice colet colet.patrice at free.fr
Wed Nov 26 18:00:05 CET 2014


  this error gave me an idea I'd like to share with the list, let me try 
to explain...

tcltk scripting requires only 3 lines of code to draw a treeview, and 
hundreds of lines to put it into an external,
so I'm wondering if sometimes it would be interesting to make a custom 
GUI without using a compiler.

  To answer that question to myself I've made an external that simply 
outputs the pathname of the canvas where it has been created,
I haven't found yet how to output the pathname of a canvas by sending 
the name but it's a start.

  Now I can draw a treeview into a canvas by using [sys_gui] and my 
[getcanvas] external,
you might find this a bit ugly because it doesn't follow the all rules 
but it works pretty well.

  The code is available here:



Le 26/11/2014 07:51, Philip Stone a écrit :
> Greetings,
> I’ve finally gotten around to upgrading to Pd-0.43.4-extended on OS X 10.10 (Yosemite). The ‘unauthorized’ playlist object is causing the error:
> (Tcl) INVALID COMMAND NAME: invalid command name ".x360890.c"
>      while executing
> ".x360890.c delete 2099000TITLE"
>      ("uplevel" body line 1447)
>      invoked from within
> "uplevel #0 $cmds_from_pd”
> on initialization, which, in turn, makes the GUI of the patch malfunction partially (sliders don’t work, etc).
> When I remove all instances of [playlist], the error message and gui malfunctions disappear.
> Are there any replacements for [playlist]?  (I.e., are there any graphical list-item-choosers out there?)
> Thanks,
> Phil Stone
> UC Davis
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list