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 06:43:32 -0500
On Sep 07, 2012, at 06:13, Steve Thompson < email@hidden> wrote: This version will get the current (ie, today's) picture and put it on the current user's desktop (as a file, not as the desktop picture).
It comes from the no-error-checking-no-forward-thinking-it-just-works school of programming.
______________________________________________________________________
:)
do shell script "cd ~/Desktop && curl -LOs `curl -s http://apod.nasa.gov/apod/ | sed -En 's|.+a.href="" href="http://apod.nasa.gov/apod/\\1|p'">http://apod.nasa.gov/apod/\\1|p'`"
-- 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