Hello,
I try to send the message "curl -f -O "http://www.xxxxx.com/
image.jpg" to object [shell] or [popen] but nothing happen !
I send before the message "cd /Users/images" to use the directory
"images" to download.
Any ideas ? Thx
PD-0.39.2-extended-rc2 macos 10.4.8
Jack
On 09/06/2007, at 4.18, Jack wrote:
Hello, I try to send the message "curl -f -O "http://www.xxxxx.com/ image.jpg" to object [shell] or [popen] but nothing happen ! I send before the message "cd /Users/images" to use the directory "images" to download.
I don't think [shell] remembers that you have changed directory.
A simple solution is to make a wee shell script that does what you
want. Make it output just what you want to be put back into Pd.
Else you could work your way around that Pd stores the file in / (or
it might be in the place from where it was started - i'm not sure),
and move it to the desired location after it has been downloaded.
[curl -f -O http://foo.bar/image.png( <- Schedule first | [mv /images.jpg /Users/images/( <- Schedule later | / [shell]