[getdir] gets the path of the current patch. I just released
[folder_list], it lists files in a folder. Either/both of those
should do what you need.
[getdir] is in Pd-extended, [folder_list] will be in the next Pd- extended test release.
.hc
On Mar 27, 2006, at 12:14 PM, Item State wrote:
kieka,
is there an object to expand relative pathnames or filename which refer to one of the pd pathlist paths to an absolute path, so that e.g. if i put an image file inside the same folder as a patch, one can expand from the mere filename, say myImage.png to a full absolute pathname? elsewise, is there an object that tells you the name of the folder of the current patch?
thanks! best, -sciss-
____________________________________________________ On Yahoo!7 Answers: Real people ask and answer questions on any topic. http://www.yahoo7.com.au/answers.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
"Computer science is no more related to the computer than astronomy
is related to the telescope."
-Edsger
Dykstra