Or better yet: https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/ggee/contr...
and for good measure: https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/ggee/contr...
AKA existing solutions which already work :D I just need something like those in vanilla/libpd.
This is basically because I can't call "pd open /path/to pathch.pd" with a relative path to the current canvas ...
On Sep 23, 2014, at 7:40 PM, pd-list-request@lists.iem.at wrote:
From: Billy Stiltner billy.stiltner@gmail.com Subject: Re: [PD] iemlib from synaptic is missing filter~ and others like iem_cot4~ Date: September 23, 2014 at 7:40:05 PM EDT To: Dan Wilcox danomatika@gmail.com Cc: Miller Puckette msp@ucsd.edu, "pd-list@lists.iem.at" pd-list@lists.iem.at
http://stackoverflow.com/questions/12489/how-do-you-get-a-directory-listing-...
here is how I done it on NT long ago
Dan Wilcox @danomatika danomatika.com robotcowboy.com
Hi Dan,
On 24/09/14 09:57, Dan Wilcox wrote:
and for good measure: https://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/ggee/contr...
Please find attached. Added bonus: right outlet yields the remainder of the path segments. Note this only works on unix-like platforms with a '/' character as a delimiter, which brings me to my next email.
Cheers,
Chris.
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
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@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