[PD] send message from Pd patch directly to tcl/tk

David Kent david at whale-av.com
Tue Apr 26 13:23:56 CEST 2016


The Pd Vanilla 0.46-7 Windows distribution includes tcl/tk 8.5 and a widget
demo.

The demo can be opened with the message 

exec wish85.exe $::sys_libdir/lib/tk8.5/demos/widget

 

pasted into the "tcl prompt:" + <enter>

 

Initially I am trying to find a way to send a message directly to that
prompt from a patch, in a similar manner to [; pd(

That seems to have been expressly omitted from the console build.

 

There is a widget editor available (vtcl) which makes widget building more
accessible for noobs like myself.

If an object or objects exist, or could be compiled for Pure Data, that
could open a widget and receive variables from user interaction with that
widget then a patch could call widgets in -nogui mode (or not) and present a
simple user interface to a "user" of the patch.

 

I have implemented (badly- but I am learning fast) an additional menu item
for the Pd window which can communicate with tcl/tk (working for windows os)
http://forum.pdpatchrepo.info/topic/9991/woof-a-new-window-menu-for-vanilla-
tcl

 

Please let me know if I am "breaking" the license, and of course I will
stop.

But for now I am stuck anyway.

David.

 

  _____  

No snowden found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7163 / Virus Database: 4563/12106 - Release Date: 04/26/16

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160426/0629cbf3/attachment.html>


More information about the Pd-list mailing list