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)
(Maybe) relatedly:
How would I open a file relative to a patch in an external instantiated within that patch?
canvas_open() seems to be exactly what I want, but how to get the containing canvas of my object?
Hoping there is a solution,
Claude