Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Kaj Ailomaa
On Tue, Mar 4, 2014, at 02:54 AM, Chris McCormick wrote: Hello, On 03/03/14 21:55, Kaj Ailomaa wrote: Hi. I've been googling a bit and looking through the library of objects that comes with pd-extended, but can't seem to find a way to get the name of the patch from within the patch.

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Jonathan Wilkes
On 03/04/2014 03:00 AM, Kaj Ailomaa wrote: On Tue, Mar 4, 2014, at 02:54 AM, Chris McCormick wrote: Hello, On 03/03/14 21:55, Kaj Ailomaa wrote: Hi. I've been googling a bit and looking through the library of objects that comes with pd-extended, but can't seem to find a way to get the name

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Ivica Bukvic
...and [patch_name] external (again pd-l2ork only) that outputs the filepath out of the left outlet and the patch filename out of the right outlet. On Mar 4, 2014 12:47 PM, Jonathan Wilkes jancs...@yahoo.com wrote: On 03/04/2014 03:00 AM, Kaj Ailomaa wrote: On Tue, Mar 4, 2014, at 02:54 AM,

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Jonathan Wilkes
On 03/04/2014 01:15 PM, Ivica Bukvic wrote: ...and [patch_name] external (again pd-l2ork only) that outputs the filepath out of the left outlet and the patch filename out of the right outlet. There's also [patchname $1( | [duplicate_effort] Just fill $1 with the name of the object you

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Ivica Bukvic
Except that in this case patch_name precedes canvasinfo... On Mar 4, 2014 3:01 PM, Jonathan Wilkes jancs...@yahoo.com wrote: On 03/04/2014 01:15 PM, Ivica Bukvic wrote: ...and [patch_name] external (again pd-l2ork only) that outputs the filepath out of the left outlet and the patch filename

Re: [PD] Get name of patch from within the patch

2014-03-04 Thread Jonathan Wilkes
But it also precedes the search-plugin. -Jonathan On Tuesday, March 4, 2014 3:59 PM, Ivica Bukvic i...@vt.edu wrote: Except that in this case patch_name precedes  canvasinfo... On Mar 4, 2014 3:01 PM, Jonathan Wilkes jancs...@yahoo.com wrote: On 03/04/2014 01:15 PM, Ivica Bukvic wrote:

Re: [PD] Get name of patch from within the patch

2014-03-03 Thread Jonathan Wilkes
In Pd-l2ork, you can do [filename(---[canvasinfo]. But I'm still working on that interface.  For example, itgives you the name without the extension .pd.  But maybe it should include that extention, too. In Pd-extended, I'm not sure how to do that.  There's [iemguts/canvasname], but it doesn't

Re: [PD] Get name of patch from within the patch

2014-03-03 Thread Chris McCormick
Hello, On 03/03/14 21:55, Kaj Ailomaa wrote: Hi. I've been googling a bit and looking through the library of objects that comes with pd-extended, but can't seem to find a way to get the name of the patch from within the patch. Anyone know of a nice method to do this? I would use [namecanvas]