2011/11/8 Joćo Pais <jmmmpais@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@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list