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, [email protected] wrote: > > From: Pierre Alexandre Tremblay <[email protected] > <mailto:[email protected]>> > To: Pd-List <[email protected] <mailto:[email protected]>> > Subject: [PD] Name of current path's file > Message-ID: <[email protected] > <mailto:[email protected]>> > 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/>
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
