[PD] relative pathes: problems with [open(-message to pd

Roman Haefeli reduzierer at yahoo.de
Fri Mar 23 23:20:01 CET 2007

On Fri, 2007-03-23 at 10:04 +0100, Steffen wrote:
> On 22/03/2007, at 23.41, Roman Haefeli wrote:
> > When opening patches by sending messages to pd, the path is  
> > relative to
> > pd's startup-location. when loading other files (text-, audio-,
> > data-files etc) the path is set relative to the location of the patch.
> > since the patch doesn't know, where pd was started, you actually  
> > cannot
> > use relative pathes when opening patches by messages without:
> Maybe [declare] can help you? (Pd >= 0.40)

i'm afraid, it doesn't. as i understand [declare], it lets you add
pathes, so that it finds abstractions or libs. but it doesn't help, when
opening a patch by message to pd. 

but it's a good point to point to [declare], since it lets you decide
between relative to patch and relative to pd. i'd like to have the same
opportunity for the [open(-message. 

actually there are three different relative paths involved in pd:

- relative to pd
- relative to patch
- relative to start-up location

i claim to deprecate the latter. i think, now everyone knows about my
opinion about this topic ;-)

it would be nice to hear more voices. does anything speak _for_
'relative to start-up location'?


Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

More information about the Pd-list mailing list