I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.com wrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks, that worked perfectly! Much better than my solution of counting the characters in the filename and subtracting it from the path with stripfilename!
On 27 October 2013 20:21, peiman khosravi peimankhosravi@gmail.com wrote:
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.comwrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi peimankhosravi@gmail.comwrote:
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Isn't the library called moonlib?
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.comwrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
yes sorry, it is indeed.
P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 28 October 2013 08:47, Alexandros Drymonitis adrcki@gmail.com wrote:
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi < peimankhosravi@gmail.com> wrote:
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Isn't the library called moonlib?
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.comwrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I just released a patch that uses basedir and a few Windows users of Pure Data extended have said that basedir isn't loading, even if it's called via moonlib/basedir. Is this an error or does basedir not work on Windows?
On 28 October 2013 08:54, peiman khosravi peimankhosravi@gmail.com wrote:
yes sorry, it is indeed.
P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 28 October 2013 08:47, Alexandros Drymonitis adrcki@gmail.com wrote:
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi < peimankhosravi@gmail.com> wrote:
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Isn't the library called moonlib?
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.comwrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
I don't have windows to test this. Is it that the external is not loading at all or there is a problem with the format of the path?
P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 30 October 2013 12:56, Antonio Roberts antonio@hellocatfood.com wrote:
I just released a patch that uses basedir and a few Windows users of Pure Data extended have said that basedir isn't loading, even if it's called via moonlib/basedir. Is this an error or does basedir not work on Windows?
On 28 October 2013 08:54, peiman khosravi peimankhosravi@gmail.comwrote:
yes sorry, it is indeed.
P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 28 October 2013 08:47, Alexandros Drymonitis adrcki@gmail.com wrote:
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi < peimankhosravi@gmail.com> wrote:
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Isn't the library called moonlib?
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.comwrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
The moonlib external appears to be installed, as does the help patch for basedir, but the object itself doesn't exist. This doesn't happen on Ubuntu.
Antonio
On 30 October 2013 15:07, peiman khosravi peimankhosravi@gmail.com wrote:
Hello,
I don't have windows to test this. Is it that the external is not loading at all or there is a problem with the format of the path?
P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 30 October 2013 12:56, Antonio Roberts antonio@hellocatfood.comwrote:
I just released a patch that uses basedir and a few Windows users of Pure Data extended have said that basedir isn't loading, even if it's called via moonlib/basedir. Is this an error or does basedir not work on Windows?
On 28 October 2013 08:54, peiman khosravi peimankhosravi@gmail.comwrote:
yes sorry, it is indeed.
P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 28 October 2013 08:47, Alexandros Drymonitis adrcki@gmail.comwrote:
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi < peimankhosravi@gmail.com> wrote:
Hello,
Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
Isn't the library called moonlib?
Best, P
*www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/*
On 27 October 2013 19:56, Antonio Roberts antonio@hellocatfood.comwrote:
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
I don't have [basedir] or [strippath] here, but [list-splat] (list-abs), [s2l] and [l2s] (zexy) do the trick. see attached gr, Tim
2013/10/27 Antonio Roberts antonio@hellocatfood.com
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[splitfilename]
Did you or me miss the obvious?
Best,
Jonas Am 31.10.2013 02:43 schrieb "tim vets" timvets@gmail.com:
I don't have [basedir] or [strippath] here, but [list-splat] (list-abs),
[s2l] and [l2s] (zexy) do the trick.
see attached gr, Tim
2013/10/27 Antonio Roberts antonio@hellocatfood.com
I want to be able to strip the file name from a path of a file opened
via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Aha, that seems exactly what I was after all along! Do you know if it works on Windows as well?
Antonio
On 31 October 2013 08:17, Johnny Mauser joson.android@googlemail.com wrote:
[splitfilename]
Did you or me miss the obvious?
Best,
Jonas Am 31.10.2013 02:43 schrieb "tim vets" timvets@gmail.com:
I don't have [basedir] or [strippath] here, but [list-splat] (list-abs), [s2l] and [l2s] (zexy) do the trick. see attached gr, Tim
2013/10/27 Antonio Roberts antonio@hellocatfood.com
I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation.
Can anyone help?
Thanks
--
antonio@hellocatfood.com http://www.hellocatfood.com ============================
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list