Re: Downloading the APOD from Safari
Re: Downloading the APOD from Safari
- Subject: Re: Downloading the APOD from Safari
- From: Christopher Stone <email@hidden>
- Date: Fri, 07 Sep 2012 11:18:25 -0500
On Sep 07, 2012, at 09:18, koenig.yvan < email@hidden> wrote: I edited it a bit with my "standard" tools
Nice to see ASObjC_Runner get some play. I'm quite sure that there is a neater way to achieve the same goal with some magic wand ;-)
do shell script " uPTH=`curl -s \"$bURL\" | awk -F\\\" '/href="" { print $2 }'`; uNM=`awk -F/ '{ print $NF }' <<< $uPTH`; curl -s \"$bURL$uPTH\" -o ~/\"Pictures/APOD_Images/`date '+%Y%m%d ยป '`$uNM\"; "
-- Best Regards, Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden