[PD] getdir

Dan Wilcox danomatika at gmail.com
Wed Sep 24 22:04:47 CEST 2014


yeah, I had the order wrong. It's actually ";pd open patch.pd /path/to".

The enclosing folder currently has to be a full path, as far as I know. At least I haven't been able to get it work with relative paths relative to the current active path's parent folder, which is the behavior I need for libpd where I want to keep projects separated within subfolders.

 
On Sep 24, 2014, at 3:53 PM, Billy Stiltner <billy.stiltner at gmail.com> wrote:

> 
> 
> 
> This is basically because I can't call "pd open /path/to pathch.pd" with a relative path to the current canvas ...
> 
> i have not ever sent that message
> wouldn't it be
> pd open path/to pathch.pd
> without the / in front of path
> for instance 
> if your canvas is in a patch in home/patches/
> and you wanted to load a patch from home/other/stuff/
> ;pd open ../other/stuff/patch.pd

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140924/f90260ca/attachment-0001.html>


More information about the Pd-list mailing list