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@lists.iem.at wrote:
From: Pierre Alexandre Tremblay <tremblap@gmail.com mailto:tremblap@gmail.com> To: Pd-List <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] Name of current path's file Message-ID: <C00F76A7-E9C7-4BAE-9B2A-515428872367@gmail.com mailto:C00F76A7-E9C7-4BAE-9B2A-515428872367@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/