Hm, how about this:
[info symbol]
where symbol is "pd" for pd, an array name, subpatch or abstraction name, the receive symbol of an iemgui,
or no args for "this canvas"
the only inlet takes: "get attribute" to output an "attribute value(s)" message "get" to get a sequence of all "attribute value(s)" messages
"symbol receive-symbol" to set a new receive symbol pointer to set it to query a scalarpointer-to-head-of-list to query a particular canvas
It might be too complex with that many disparate classes, but it sure would simplify the process of getting pure data :)
-Jonathan
----- Original Message -----
From: Mathieu Bouchard matju@artengine.ca To: IOhannes m zmoelnig zmoelnig@iem.at Cc: pd-list@iem.at Sent: Thursday, November 17, 2011 3:11 PM Subject: Re: [PD] "get" method for Pd
Le 2011-11-17 à 15:10:00, Mathieu Bouchard a écrit :
Le 2011-11-17 à 15:15:00, IOhannes m zmoelnig a écrit :
which tcl-version is reported for "pd -nogui"? or rather, how are non-existing attributes reported?
symbol none symbol unknown float -1 float 0 etc. whatever float or symbol best fits the situation.
or, of course, any anything message, e.g. you could use :
[route unavailable] or [route unknown]
to pick up the thing that plays an error-message-like role (though as a normal message).
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list