Hi,
Is there any external capable of creating a folder? (that works the same in all platforms or at least windows and mac)
Kind of, you could try sending a mini script to popen, shell, pyext,
pdlua, pdtcl, etc.
.hc
On Jan 10, 2010, at 3:32 PM, Matteo Sisti Sette wrote:
Hi,
Is there any external capable of creating a folder? (that works the
same in all platforms or at least windows and mac)-- Matteo Sisti Sette matteosistisette@gmail.com http://www.matteosistisette.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Using ReBirth is like trying to play an 808 with a long stick. - David Zicarelli
Hans-Christoph Steiner escribió:
Kind of, you could try sending a mini script to popen, shell, pyext, pdlua, pdtcl, etc.
Where could I learn more about pdtcl?
I tried to google about it but couldn't even figure out what it is. Btw it is not included in PD Extended is it?
thanks m.
Em 11/01/10 16:39, Matteo Sisti Sette escreveu:
Hans-Christoph Steiner escribió:
Kind of, you could try sending a mini script to popen, shell, pyext, pdlua, pdtcl, etc.
Where could I learn more about pdtcl?
I tried to google about it but couldn't even figure out what it is. Btw it is not included in PD Extended is it?
thanks m.
using [operating_system] and [popen] you can do it... (see pd patch)
best wishes, josé
PS: have not tested on a windows box, but I believe it will work.. :)
On Jan 11, 2010, at 4:03 PM, josepadovani wrote:
Em 11/01/10 16:39, Matteo Sisti Sette escreveu:
Hans-Christoph Steiner escribió:
Kind of, you could try sending a mini script to popen, shell,
pyext, pdlua, pdtcl, etc.Where could I learn more about pdtcl?
I tried to google about it but couldn't even figure out what it is. Btw it is not included in PD Extended is it?
thanks m.
using [operating_system] and [popen] you can do it... (see pd patch)
best wishes, josé
PS: have not tested on a windows box, but I believe it will work.. :)
I think mkdir works on Windows too, no?
.hc
The arc of history bends towards justice. - Dr. Martin Luther
King, Jr.
Em 11/01/10 20:49, Hans-Christoph Steiner escreveu:
using [operating_system] and [popen] you can do it... (see pd patch)
best wishes, josé
PS: have not tested on a windows box, but I believe it will work.. :)
I think mkdir works on Windows too, no?
.hc
Oops.. well, there is some time that I don't use windows/dos... but google says it does recognize mkdir.. :)
Anyway, using [operating_system] + [popen] seems to be a good way to "bang" .bat files for win and .sh scripts for linux/osx and automate things according the current OS..
josé
Selon Hans-Christoph Steiner hans@at.or.at:
I think mkdir works on Windows too, no?
.hc
"file mkdir" works with mingw and cygwin tcl console, but not on pdGuiRewrite tcl entry
On Jan 12, 2010, at 5:00 AM, colet.patrice@free.fr wrote:
Selon Hans-Christoph Steiner hans@at.or.at:
I think mkdir works on Windows too, no?
.hc
"file mkdir" works with mingw and cygwin tcl console, but not on
pdGuiRewrite tcl entry
Is this on Windows? It works for me on Mac OS X. I just did 'file
mkdir /tmp/asdfasdf' and got a new folder.
.hc
I hate it when they say, "He gave his life for his country." Nobody
gives their life for anything. We steal the lives of these kids. -
Admiral Gene LeRocque
I tried:
"file mkdir test-folder"
on mingw tclsh85.exe make a dir in /usr/local/bin
with the pd/bin/tclsh85.exe it does nothing
following tcl doc I should write something like this:
file mkdir "dir" "dir"
maybe that's what is that has confused myself because this command work on PdRewriteGui tcl interpreter:
"file mkdir C:/Users/patko/Documents/test-folder"
great, then any tcl interpreter could do it as well in windows, but one must make sure about using "/" instead of "" and about creating a folder somewhere authorized by the system
thanks for the tcl command example
PC
Selon Hans-Christoph Steiner hans@at.or.at:
On Jan 12, 2010, at 5:00 AM, colet.patrice@free.fr wrote:
Selon Hans-Christoph Steiner hans@at.or.at:
I think mkdir works on Windows too, no?
.hc
"file mkdir" works with mingw and cygwin tcl console, but not on pdGuiRewrite tcl entry
Is this on Windows? It works for me on Mac OS X. I just did 'file mkdir /tmp/asdfasdf' and got a new folder.
.hc
I hate it when they say, "He gave his life for his country." Nobody gives their life for anything. We steal the lives of these kids. - Admiral Gene LeRocque
On Jan 11, 2010, at 1:39 PM, Matteo Sisti Sette wrote:
Hans-Christoph Steiner escribió:
Kind of, you could try sending a mini script to popen, shell,
pyext, pdlua, pdtcl, etc.Where could I learn more about pdtcl?
I tried to google about it but couldn't even figure out what it is. Btw it is not included in PD Extended is it?
As for pdtcl, Federico wrote it, its in the svn. I donno if he's made
releases. I should work on all platforms, its just a matter of
compiling it.
.hc
"Making boring techno music is really easy with modern tools, but with
live coding, boring techno is much harder." - Chris McCormick
Hello,
I'd use pyex external for using the python os module, but I would expect in pd-rewrite-gui the "file mkdir" tcl command to work on all platform, but I couldn't make this work on windows
PC
Selon Matteo Sisti Sette matteosistisette@gmail.com:
Hi,
Is there any external capable of creating a folder? (that works the same in all platforms or at least windows and mac)
-- Matteo Sisti Sette matteosistisette@gmail.com http://www.matteosistisette.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list