[PD] pd and custom tcl/tk gui

carmen _ at whats-your.name
Mon Jul 31 23:50:01 CEST 2006


On Mon Jul 31, 2006 at 09:23:07PM +0200, Andre Schmidt wrote:
> hi,
> 
> as pd uses tcl/tk as gui, wouldnt it be easy to allow users to add
> custom tcl/tk script/gui ?
> 
> or
> 
> how can i send values from a "tot" scriptlet to pd ?

you cand send pd messages with the 'pd' proc. eg:
pd myrcvsym 345 \;

and also to the [tot] outlet somehow. [widget] also has [tow] objects for proxy messaging ports, and

[widget] has some kind of preprocessor that substitutes in the current object id to your script. this is another selling point over [tot], besides the oo-ness.


> 
> attached is a pd patch (tot-test1.pd) that opens a "tot" scriptlet
> (rectresize.tot) in canvas, where you got a rectangle that you can
> resize when click&drag on the rectangle edges... and i would like to
> send the sizes (or what ever) to pd...

bind some input events to the rect...then see above :)




More information about the Pd-list mailing list