[email protected] wrote:
> Selon Matteo Sisti Sette <[email protected]>:
> 
>> Any suggestions on how to check for the existence of a directory?
>>
> 
>  it would be childish if [sys_gui] or another object would retrieve tcl 
> console
> output, then [puts [glob -type d My-Dir]< would do the trick, or just a bang
> when tcl command is done.

as said before: we are dealing with asyncrhonous messages over the
internet here.
i don't think there is a way to do what you request (as option b)
generically.
otoh, you can do option a with [sys_gui]
something like "pd_send myrecname [ glob -type d My-Dir ]" should send
the output of the glob command back to Pd where it will magically appear
on the "myrecname" receiver.

sidenote: pd_send is what i remember; could be called slightly
differently or take more args; for details see pd.tk


mdyr
IOhannes

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to