On Thu, 1 Apr 2004, Frank Barknecht wrote:
Tim Blechmann hat gesagt: // Tim Blechmann wrote:
pdsend 4444 "my_msgs hello world;"
this is actually not working ... pdsend reads from stdin ... i don't think this is very useful, expecially if you want to do write some shell scripts ...
Connecting to Pd is a simple socket-connection, for which you even could use something like netcat, so I'd see not much use in changing pdsend just to make scripting easier.
I don't understand; is there a problem or some difficulty with the following command?
echo my_msgs hello world ; | pdsend 4444
or is there with the following one?
pdsend 4444 <<EOF my_msgs hello world ; my_msgs hello world take deux ; my_msgs hello world again ; EOF
or my favourite:
( echo my_msgs hello world ; echo my_msgs hello world take deux ; echo my_msgs hello world again ; ) | pdsend 4444
Mathieu Bouchard http://artengine.ca/matju