Re: [PD] external to create folders?
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 h...@at.or.at: On Jan 12, 2010, at 5:00 AM, colet.patr...@free.fr wrote: Selon Hans-Christoph Steiner h...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
Selon Hans-Christoph Steiner h...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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.. :) Great thanks, this is a really interesting solution, but unfortunately I have to discard it because of the popping shell window :( Or is it possible to avoid it? -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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 matteosistise...@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 matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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.. :) -- http://zepadovani.info #N canvas 545 22 805 503 10; #X symbolatom 38 105 10 0 0 0 - - -; #X obj 38 155 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 97 155 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 156 156 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 38 73 operating_system; #X obj 38 129 select windows macos linux; #X obj 148 303 popen; #X obj 150 340 print; #X obj 127 258 mux 1 2; #X obj 104 223 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X msg 40 182 0; #X msg 110 186 1; #X obj 200 -18 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 235 -9 create dir at home folder; #X msg 194 18 md %HOMEDIR%/My Documents/mydir; #X msg 262 43 mkdir ~/mydir; #X obj 35 11 loadbang; #X connect 0 0 5 0; #X connect 1 0 10 0; #X connect 2 0 11 0; #X connect 3 0 11 0; #X connect 4 0 0 0; #X connect 5 0 1 0; #X connect 5 1 2 0; #X connect 5 2 3 0; #X connect 6 0 7 0; #X connect 8 0 6 0; #X connect 9 0 8 2; #X connect 10 0 9 0; #X connect 11 0 9 0; #X connect 12 0 14 0; #X connect 12 0 15 0; #X connect 14 0 8 0; #X connect 15 0 8 1; #X connect 16 0 4 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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é -- http://zepadovani.info ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] external to create folders?
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 matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external to create folders?
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 matteosistise...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list