[PD] expand path names object?

Hans-Christoph Steiner hans at eds.org
Tue Mar 28 04:41:24 CEST 2006


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





More information about the Pd-list mailing list