1) Tell me that it already exists2) Make it exist
I want a programme that will go an grab an image from a webcam and install it as my desktop background and update itself every so often. I can see how this could be done as an Apple Script or a perl script, run as a cron job, that grabbed the image every 5 minutes or so an deposited it in the folder that the Apple desktop background manager looks in for picture , but I can code in neither language.
I'd like the M/S Nordkaap's webcam as my desktop background.
― Ed (dali), Tuesday, 13 May 2003 08:44 (twenty-two years ago)
― Alan (Alan), Tuesday, 13 May 2003 09:13 (twenty-two years ago)
― Alan (Alan), Tuesday, 13 May 2003 09:15 (twenty-two years ago)
― Alan (Alan), Tuesday, 13 May 2003 09:20 (twenty-two years ago)
― Simeon (Simeon), Tuesday, 13 May 2003 09:46 (twenty-two years ago)
#!/bin/csh -fcd ~/Desktopcurl http://webcam.aspectgroup.co.uk/bigben.jpg -o temp.jpgcp temp.jpg temp2.jpg /usr/bin/osascript <tell application "Finder" set desktop picture to file "temp2.jpg"set desktop picture to file "temp.jpg"end tell END
the temp2 thing seems to be needed as the Finder won't update the desktop image unless the file name changes. Anwyay, there's a start for you. Cron that.
― Alan (Alan), Tuesday, 13 May 2003 09:55 (twenty-two years ago)
I set up the shell script as advised
#! /bin/sh
curl -O http://www.bergens-tidende.no/grafikk/kamera/nordkapp2.jpg
did chmod 755 on the script to make it executable
Used Cronix to set up a cron job with minutes set to */10 which gets it every 10 minutes?
It just runs the script from the folder that I keep my desktop pictures in and adds it to the rotation. Waiting to see if the cronjob works.
― Ed (dali), Tuesday, 13 May 2003 10:00 (twenty-two years ago)
― Alan (Alan), Tuesday, 13 May 2003 10:03 (twenty-two years ago)
― Ed (dali), Tuesday, 13 May 2003 10:21 (twenty-two years ago)
ln -s ~/mbox ~/Library/Mail/Mailboxes/INBOX.mbox/mbox
― Ed (dali), Tuesday, 13 May 2003 10:36 (twenty-two years ago)
― Alan (Alan), Tuesday, 13 May 2003 11:25 (twenty-two years ago)
I have London Aquarium sharks on my desktop now
― Alan (Alan), Wednesday, 14 May 2003 10:42 (twenty-two years ago)