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

Ingo ingo at miamiwave.com
Tue Nov 8 13:12:08 CET 2011


That’s 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 at 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 at gmail.com>

2011/11/8 Ingo <ingo at 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 at iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkdir_windows.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111108/3c5f9d83/attachment.asc>


More information about the Pd-list mailing list