Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > I need an app to do something specific, please help?

I need an app to do something specific, please help?
Thread Tools
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Jul 13, 2007, 03:01 PM
 
My university is currently constructing a new building and has a webcam with a jpg pic that updates every few minutes. I want to download that .jpg file once a day and have it saved into a folder and named according to the date it was taken.

http://www.lawrence.edu/graphics/pho...mpuscenter.jpg

That's the jpg file. Is there any app that might be able to schedule this? This is something I want to do everyday for the next 18 months.
     
Addicted to MacNN
Join Date: Mar 2006
Status: Offline
Reply With Quote
Jul 13, 2007, 03:46 PM
 
This sounds like a problem for Automator. Use Safari -> Download url etc.
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Online
Reply With Quote
Jul 13, 2007, 04:05 PM
 
Or if you're command line savvy, use cron to schedule it and curl to download it.
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Jul 13, 2007, 06:32 PM
 
Hmm, I think I'll try out the Automator. Another question, what's the best app to use to take a sequence of thousands of pics and make them into an actual movie, where for example you have a movie that is 30fps, and each frame represents one of those pics, so you get one second representing 30 days!
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Jul 13, 2007, 06:56 PM
 
EUREKA!

My first ever actual use of Automator! What a sweet app!

So this is how I did it. I made a new calendar in iCal called "takepic". I set an event to occur every day at noon (and end whenever, like 12:05, and the event is also called "takepic". I set it to open a file every time the event occurs, the file being a workflow app created in Automator. The Automator workflow just downloads the file in question, and then I use the Finder set of commands in Automator to append the year/month/day creation date of the file.

This will be running every day for the next 18 months The building is supposed to be done December 2008.

     
Mac Elite
Join Date: Sep 2006
Status: Offline
Reply With Quote
Jul 13, 2007, 07:10 PM
 
Automator is really quite amazing.
     
Addicted to MacNN
Join Date: Mar 2006
Status: Offline
Reply With Quote
Jul 13, 2007, 07:17 PM
 
Well done! It's really cool when you get the hang of it! Please post if you figure out how to do the animation.
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Jul 13, 2007, 07:19 PM
 
Originally Posted by peeb View Post
Well done! It's really cool when you get the hang of it! Please post if you figure out how to do the animation.
I figured that one out too! In Quicktime Play go to File -> Open Image Sequence...

Totally never knew that feature was there. It's so easy!
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Jul 13, 2007, 07:20 PM
 
Originally Posted by peeb View Post
Well done! It's really cool when you get the hang of it! Please post if you figure out how to do the animation.
I will proudly bump this thread a year and a half from now to show you the finished product
     
JKT
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status: Offline
Reply With Quote
Jul 14, 2007, 11:36 AM
 
Note, I would check that iCal will wake your Mac at the assigned time to take the picture - my guess would be that it won't do this and will instead run the action the next time you wake the Mac. IOW, you might not get the desired result through use of iCal unless you leave your Mac constantly awake.

You might need to use some Terminal or AppleScript magic to send a wake event prior to the assigned period that you want the Automator action to run at... this is beyond my knowledge but people gifted in the art of the CLI or AppleScript should be able to help out.
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Jul 15, 2007, 04:13 AM
 
My iMac is awake 24/7 so it's not a problem.
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Oct 11, 2007, 12:48 AM
 
     
Mac Elite
Join Date: Jun 2004
Status: Offline
Reply With Quote
Oct 11, 2007, 07:06 AM
 
that's pretty cool.

should be very impressive when it's all complete.
     
Professional Poster
Join Date: Jan 2003
Location: Teaneck, NJ
Status: Offline
Reply With Quote
Oct 11, 2007, 09:50 AM
 
I was going to suggest applescript but I see you have what you need.
Don't forget to back up the pics!
ATT iPhone 4; 13" MBP; MDD G4.
http://twitter.com/SSharon27
     
Professional Poster
Join Date: Mar 2002
Location: Smallish town in Ohio
Status: Offline
Reply With Quote
Oct 11, 2007, 07:54 PM
 
Originally Posted by SSharon View Post
I was going to suggest applescript but I see you have what you need.
Don't forget to back up the pics!
Heh yea actually whenever I want to take what I have and make it into a Quicktime image sequence I use a separate Automator script to copy all the pics I've collected into another folder, and rename them sequentially as pic0001 pic0002 pic0003 etc because Image Sequence in Quicktime Player is really picky about how sequential the files are named.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:37 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2