In Pd-l2ork, you can do [filename(---[canvasinfo].
But I'm still working on that interface. For example, it gives 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 give return anything for a toplevel patch.
-Jonathan
On Monday, March 3, 2014 9:11 AM, Kaj Ailomaa <zequence@mousike.me> 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?
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list