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

IOhannes m zmölnig zmoelnig at iem.at
Tue Apr 26 14:54:34 CEST 2016


On 04/26/2016 01:23 PM, David Kent wrote:
> 
> pasted into the "tcl prompt:" + <enter>

i hope you are aware that the tcl-prompt has vanished with Pd-0.47, so
you cannot really send anything there anymore.

otoh, you don't need a tclprompt to send tcl-commands to the Pd-GUI and
have it interpreted. just send them directly, in C via the "sys_vgui()"
function.
on the patch-level, you could use hans' [sys_gui] object (in the "hcs"
collection of objects) to acchieve that.

gmards
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160426/f5c252ad/attachment.sig>


More information about the Pd-list mailing list