http://suita.chopin.edu.pl/~czaja/miXed/externs/toys.html
lists@martinmalm.com wrote:
Hi Ben and everyone else !
TOT sounds like a good solution, but the only problem is that I have no idea of what it is and how to use it in a patch. Could you point me in the right direction ?
Thanks for all help :)
regards /
Martin
TOT will probably do this, as you can get a file listing (and copy delete etc.. ) very easily in tcl...
glob *
file rename file delete file copy
etc..
Try this before writing something!
Ben ----- Original Message ----- From: "David Sabine" dave@davesabine.com To: lists@martinmalm.com; "'Luke Yelavich'" lukethemuso@ozemail.com.au Cc: pd-list@iem.kug.ac.at Sent: Wednesday, August 20, 2003 6:35 AM Subject: RE: [PD] dir access
Hello all,
I posted a similar questions months ago...the response from the developers seemed to be this:
- it's easy on linux/PD (something about shell commands)
- it's impossible on win/PD
Actually, it's not impossible, but somebody mentioned that performing this operation on Windows, being that the file system is handled so differently in each OS, would lead to spaghetti code that might eventually become very difficult to handle in PD.
Having said that, I think it would be a very powerful tool and would like
to
see some development in this area.
I work a lot in ASP (for 'web' stuff) and make frequent use of the "Scripting.FileSystemObject" in Visual Basic to return collections of folders, files, etc. Using this object one can also move, delete, rename and copy files on the fly. I don't know how this functionality could be provided within PD, because my knowledge of 'C' is so limited...but it
sure
would be handy!
To make this issue even more complex: the .NET framework now provides an
API
to zip/compress, send mail, edit and resize images, and even return MP3
file
attributes (like name, composer, album, year released, bit rate, etc). I wonder if PD will even incorporate some of these tools?
Regards, Dave Sabine
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] On Behalf Of lists@martinmalm.com Sent: August 20, 2003 3:43 AM To: Luke Yelavich Cc: lists@martinmalm.com; pd-list@iem.kug.ac.at Subject: Re: [PD] dir access
Hi !
No, the openpanel is not what I'm looking for. I need to load an unknown number of images and movies into different buffers depending on their names and extensions.
I know that there is an object in MAX that can search a folder and return the contents as a list, so I was wondering if someone has created something like it for PD.
cheers /
Martin
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list