I think that belongs in the canvas get method:
[; pd-mpatch.pd get etc.(
-Jonathan
----- Original Message -----
From: Patrice Colet colet.patrice@free.fr To: Jonathan Wilkes jancsika@yahoo.com; pd-list pd-list@iem.at Cc: Sent: Thursday, November 17, 2011 8:53 AM Subject: Re: [PD] "get" method for Pd
Hello, would this method provide patch window size and position?
[; pd get size pd-mpatch.pd rcv_name( [; pd get pos pd-mpatch.pd rcv_name(
Colet Patrice
----- Mail original -----
De: "Jonathan Wilkes" jancsika@yahoo.com À: "pd-list" pd-list@iem.at Envoyé: Jeudi 17 Novembre 2011 02:43:08 Objet: [PD] "get" method for Pd
I made a patch awhile back that added a "get" method to pd:
[; pd get version rcv-name( sends "version $major $minor
$bugfix" to
rcv-name
[; pd get dsp rcv-name( sends "dsp $status" to rcv-name
[; pd get * rcv-name( sends a sequence of all query-able "attribute values" to rcv-name
leaving off rcv-name will send the output to the Pd console
[; pd get( is synonymous with [; pd get *(
I remembered the patch when trying to generate crash logs for about.pd in the other thread--
if Pd has a "get" method then about.pd doesn't need to rely
on
externals (well, aside from
pddplink for the links).
Are there Pd attributes other than version and dsp status that would be nice to make "gettable"?
-Jonathan
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list