How about
[; pd get self rcv-name(
Dumps itself. Once I wanted to get Pd patches to print themselves, can't remember how it was solved now, but the above would have been quite clear.
On Thu, 17 Nov 2011 13:14:58 +0100 katja katjavetter@gmail.com wrote:
On Thu, Nov 17, 2011 at 2:43 AM, Jonathan Wilkes jancsika@yahoo.com wrote:
Are there Pd attributes other than version and dsp status that would be nice to make "gettable"?
Very useful! I could think of these, to start with:
[; pd get tcl-version rcv-name( sends "tcl-version $" to rcv-name
[; pd get float-precision rcv-name( sends "float-precision $" to rcv-name (expressed as 8*sizeof(t_float))
[; pd get pd-path rcv-name( sends "pd-path path/to/pd" to rcv-name
Katja
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list