Use [getdir] and [list2symbol]:
.hc
On Feb 1, 2011, at 1:37 PM, Athos Bacchiocchi wrote:
hello list,
i'm building a patch in wich openpanel is used to load four wavfiles in four different arrays. The four paths are stored and, if needed, saved in a text file using [textfile] object, so that they can be loaded all together like a primitive kind of soundbank.
The problem with openpanel is that it outputs absolute paths, making the textfile useless in case i move the entire patch (with wavfiles as well, without modifying the relative positions), to another position
or machine.Can anyone point me in the right direction? Maybe there is a specific object, but an entire day of googling didn't get me anywhere.
thanks, athos
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
http://at.or.at/hans/