[PD] clear console command + create folder from Pd?

tim vets timvets at gmail.com
Tue Nov 8 12:56:46 CET 2011


2011/11/8 João Pais <jmmmpais at googlemail.com>

>  - is there any object that allows to create a folder (in all OSs)? I
>>> wanted to save files to a non-existing folder, but Pd doesn't create one.
>>>
>>
>> You could probably use Tcl's mkdir and send it to the GUI:
>>
>> [file mkidr /path/to/mynewfolder(
>> |
>> [hcs/sys_gui]
>>
>
> this works, but only if I give a complete path, not a relative one. I can
> get the patche's current path with tof/path, but I read that tof isn't
> included in the next versions? Is it possible to get the current path
> through other methods?
>
> João
>
> [echo %CD%( -- [popen] ?

>
> ______________________________**_________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111108/0196b463/attachment.htm>


More information about the Pd-list mailing list