Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-31 Thread Antonio Roberts
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 wrote: > [splitfilename] > > Did you or me miss the obvious? > > Best, > > Jonas > Am 31.10.2013 02:43 schrieb "tim vets" : > > >> >> I don't have [base

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-31 Thread Johnny Mauser
[splitfilename] Did you or me miss the obvious? Best, Jonas Am 31.10.2013 02:43 schrieb "tim vets" : > > 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 >> >> I want to be a

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-30 Thread tim vets
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 > 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 tha

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-30 Thread Martin Peach
On 2013-10-30 11:07, peiman khosravi 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? The source code for [basedir] is only compiled if _WIN32 is not defined. Martin

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-30 Thread Antonio Roberts
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 wrote: > Hello, > > I don't have windows to test this. Is it that the external is not loading

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-30 Thread peiman khosravi
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 Feed || Concert News * On 30 October

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-30 Thread Antonio Roberts
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 wrote: > yes sorry, it is indeed

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-28 Thread peiman khosravi
yes sorry, it is indeed. P *www.peimankhosravi.co.uk || RSS Feed || Concert News * On 28 October 2013 08:47, Alexandros Drymonitis wrote: > > > > On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi < > peimankhos

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-28 Thread Alexandros Drymonitis
On Sun, Oct 27, 2013 at 10:21 PM, peiman khosravi 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 > Feed || > Concer

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-27 Thread Antonio Roberts
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 wrote: > Hello, > > Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy). > > B

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-27 Thread peiman khosravi
Hello, Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy). Best, P *www.peimankhosravi.co.uk || RSS Feed || Concert News * On 27 October 2013 19:56, Antonio Roberts wrote: > I want to be ab

[PD] Strip file name from path (alternative to [stripfilename])?

2013-10-27 Thread Antonio Roberts
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 -- anto...@hellocatfood.