Thats working now, Tim.
I did see already that the [loadbang] was missing. However, working with absolute directories gets really complicated this way.
Especially if you want to have the same Patch or abstraction working on several platforms. I would suspect this version might only work on windows correctly?
Ingo
Von: tim vets [mailto:timvets@gmail.com] Gesendet: Dienstag, 8. November 2011 12:35 An: Ingo Cc: Hans-Christoph Steiner; pd list Betreff: Re: [PD] clear console command + create folder from Pd?
2011/11/8 tim vets timvets@gmail.com
2011/11/8 Ingo ingo@miamiwave.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.
[mkdir $1(--[popen] ?
I wonder if that works on Windows? Anyone tested it? Someone could probably make [mkdir] object quite quickly using pdlua or tclpd.
.hc
I just tested it on WinXP. I could create a directory in the folder of the patch but not a subdirectory. Not sure if it has anything to do with the slash vs. backslash issue. Ah, true, I didn't think of that. I found a workaround though (see attachment), but it's getting absurdly complicated for just doing mkdir...
and I forgot to add a loadbang, you have to click the [symbol( connected to [l2s] first...
Ingo
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list