I think that belongs in the canvas get method: [; pd-mpatch.pd get etc.(
-Jonathan ----- Original Message ----- > From: Patrice Colet <[email protected]> > To: Jonathan Wilkes <[email protected]>; pd-list <[email protected]> > 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" <[email protected]> >> À: "pd-list" <[email protected]> >> 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 >> >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
