Hi all,
in case there is someone there working with (pd-)lua, I would like to ask
the following: are there any examples on how to retrieve symbols and add
them to lists? I wanted to build textfiles mixing filenames in the hard
disk with other symbols. E.g. something like
output.txt output/file1.txt file2.txt "file1 3 5.txt" (etc etc...)
the 3rd symbol is a typical windows long filename, with "" because of the
spaces. Some of these symbols would come from the disk, some I would add
in the pd patch.
Thanks as usual,
João
See the help browser pdlua/examples for instance ltabdump or list-pak.
Martin
On 2012-10-10 11:41, João Pais wrote:
Hi all,
in case there is someone there working with (pd-)lua, I would like to ask the following: are there any examples on how to retrieve symbols and add them to lists? I wanted to build textfiles mixing filenames in the hard disk with other symbols. E.g. something like
output.txt output/file1.txt file2.txt "file1 3 5.txt" (etc etc...)
the 3rd symbol is a typical windows long filename, with "" because of the spaces. Some of these symbols would come from the disk, some I would add in the pd patch.
Thanks as usual,
João
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
thanks, that was a good beginning. but I think I didn't explain some
things clearly enough:
output.txt output/file1.txt file2.txt "file1 3 5.txt" output1.txt output/file1.txt file2.txt "file1 aa.txt" output31.txt output/file1.txt file2.txt "file1 3a5.txt" (etc.)
... and then, for example, save those lists in a text file
lua from the hard disk (if possible). Of course, I can do this with Pd as
well, but as an exercise I would try everything with lua. A plus would be
if long filenames would came already with "" (I imagine it would be easier
to do that in lua as in pure pd?)
João
See the help browser pdlua/examples for instance ltabdump or list-pak.
Martin
On 2012-10-10 11:41, João Pais wrote:
Hi all,
in case there is someone there working with (pd-)lua, I would like to ask the following: are there any examples on how to retrieve symbols and add them to lists? I wanted to build textfiles mixing filenames in the hard disk with other symbols. E.g. something like
output.txt output/file1.txt file2.txt "file1 3 5.txt" (etc etc...)
the 3rd symbol is a typical windows long filename, with "" because of the spaces. Some of these symbols would come from the disk, some I would add in the pd patch.
Thanks as usual,
João
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list