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

Hans-Christoph Steiner hans at at.or.at
Tue Nov 8 18:31:47 CET 2011


On Nov 8, 2011, at 6:46 AM, João Pais wrote:

>>> - 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?

tof is included in Pd-extended as long as it doesn't break.  It doesn't currently have a maintainer.

.hc




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

"Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you." - Richard M. Stallman





More information about the Pd-list mailing list