On Jan 18, 2010, at 12:44 PM, [email protected] wrote:

Selon Hans-Christoph Steiner <[email protected]>:


sys_gui.c.  That code is pretty simple. I think you could do it by
appending something like "; pdsend "#sys_gui-receiver bang" to every
command sent, then bind to the receiver name "#sys_gui-receiver" to
get that bang.

attached diff should be this binding method but it doesn't work, the bang is
sent
before tcl is done; why attached patch works? (it bangs after tcl command is
done), the only difference is that the send command is trigged.

pc

<sys_gui-send-bang.diff><createDir.pd>

Sending this bit of Tcl from the Tcl entry in the 0.43 Pd window worked for me with your test patch, it is odd that it wouldn't work when send from Pd.

file delete -force /tmp/test-folder; file mkdir /tmp/test-folder; pdsend "test bang"

.hc


----------------------------------------------------------------------------

Information wants to be free.    -Stewart Brand



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to