[PD] folder_list relative paths

Hans-Christoph Steiner hans at at.or.at
Fri Nov 6 06:25:23 CET 2009


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]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: folder list test.pd
Type: application/octet-stream
Size: 390 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091106/6553bbc2/attachment.obj>
-------------- next part --------------



.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 at 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




More information about the Pd-list mailing list