[PD] sys_gui outlet WAS: create folder implementation

Hans-Christoph Steiner hans at at.or.at
Tue Jan 19 16:32:36 CET 2010


On Jan 18, 2010, at 12:44 PM, colet.patrice at free.fr wrote:

> Selon Hans-Christoph Steiner <hans at at.or.at>:
>
>
>> 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






More information about the Pd-list mailing list