Hi list,
I wonder if there is a possibility to receive console messages within a patch. Could be helpful, for instance, when there is a certain error that should immediately trigger a reaction. Thanks for advice.
Best Mirko
On 2011-06-23 18:39, Mirko Maier wrote:
Hi list,
I wonder if there is a possibility to receive console messages within a patch. Could be helpful, for instance, when there is a certain error that should immediately trigger a reaction. Thanks for advice.
i guess there are some answers for that in the archives.
the simplest is probably still $ pd -stderr 2>&1 | pdsend 9999 localhost udp
and then have [netreceive 9999 1] listen for your output.
fgmasdr IOhannes
On 06/24/2011 10:53 AM, IOhannes m zmoelnig wrote:
the simplest is probably still $ pd -stderr 2>&1 | pdsend 9999 localhost udp
Great!
But is there another way so that you would be able to catch the console messages at the point of the message tree when they are generated?
Otherwise it is pretty difficult to manage them usefully...
Thanks m.
On Fri, Jun 24, 2011 at 13:14, Matteo Sisti Sette < matteosistisette@gmail.com> wrote:
On 06/24/2011 10:53 AM, IOhannes m zmoelnig wrote:
the simplest is probably still
$ pd -stderr 2>&1 | pdsend 9999 localhost udp
Great!
But is there another way so that you would be able to catch the console messages at the point of the message tree when they are generated?
Otherwise it is pretty difficult to manage them usefully...
Just a shot in the dark: you could use an external which enables TCL scripting, then rewrite the ::pdwindow::verbose function, eventually in a search-and replace way so it has less chances to break wirh Pd changing (see http://puredata.info/docs/guiplugins Overwriting functions)
Andras