[PD] Name of current path's file

Dan Wilcox danomatika at gmail.com
Sun Sep 29 21:32:51 CEST 2019

See p_basename in the rc-patches: https://github.com/danomatika/rc-patches <https://github.com/danomatika/rc-patches>

> On Sep 29, 2019, at 5:55 PM, pd-list-request at lists.iem.at wrote:
> From: Pierre Alexandre Tremblay <tremblap at gmail.com <mailto:tremblap at gmail.com>>
> To: Pd-List <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>>
> Subject: [PD] Name of current path's file
> Message-ID: <C00F76A7-E9C7-4BAE-9B2A-515428872367 at gmail.com <mailto:C00F76A7-E9C7-4BAE-9B2A-515428872367 at gmail.com>>
> Content-Type: text/plain; charset=utf-8
> Dear all
> I am trying to recover programatically the name of the patch file I’m in. The new amazing [pdcontrol] object gives me its path, but I cannot seem to find a way to get the file name, which I can then use programatically… for instance in many help files to call a given html document called the same name in another folder.
> Does it make sense? Vanilla options only please!
> p

Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190929/43272f30/attachment.html>

More information about the Pd-list mailing list