----- Original Message ----- > From: Ivica Ico Bukvic <[email protected]> > To: 'Hans-Christoph Steiner' <[email protected]>; [email protected] > Cc: > Sent: Friday, February 8, 2013 4:18 PM > Subject: Re: [PD] Fwd: absolute vs relative filepath on oggread~ > > But it doesn't give you the name of the patch itself (which could be useful > for auto-naming files associated with the patch, e.g. soundfiles). L2ORk's > patch_name does everything getdir does (optional argument traverses > structure upwards to provide you with info of patches/abstractions above it) > plus gives you the patch name.
So does canvasinfo: http://article.gmane.org/gmane.comp.multimedia.puredata.devel/11601/match=classinfo with a bang method that prints all the canvas attributes to the console for quick reference. Way easier for the user since each attribute is a method within a single object, with a standard interface (and if more attributes are needed it's trivial to add them without breaking anything). Also easier to develop, as adding another attribute is as simple as adding a method (as opposed to copy/pasting yet another external class, which is the equivalent of copy/pasting subpatches instead of learning to use abstractions in Pd). -Jonathan _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
