We've been having some trouble using the folder_list object from hcs to work with paths relative to the patch folder. We have a folder inside the patch folder and it seems as though you should give folder_list an argument of "./foldername" or "./foldername/*" or "foldername/*" but no combinations seem to work.
We're using Mac UNIX and although absolute paths are working fine, there would be some very annoying problems if the patch relied on folders always being in the same place.
Has anyone dealt with this problem and discovered a solution, or is there a better object to be outputting the file contents of a folder?
Thanks, -Stephen
I just changed the relative support in the object, it now is relative
to the patch directory, the previous version that you have is relative
to the path that Pd was started in. You can either build that from
source, or use this workaround involving [getdir]
.hc
On Nov 5, 2009, at 11:21 PM, Stephen Lucas wrote:
We've been having some trouble using the folder_list object from hcs
to work with paths relative to the patch folder. We have a folder
inside the patch folder and it seems as though you should give
folder_list an argument of "./foldername" or "./foldername/*" or
"foldername/*" but no combinations seem to work.We're using Mac UNIX and although absolute paths are working fine,
there would be some very annoying problems if the patch relied on
folders always being in the same place.Has anyone dealt with this problem and discovered a solution, or is
there a better object to be outputting the file contents of a folder?Thanks, -Stephen _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin