Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Southern Dad

macrumors 68000
Original poster
May 23, 2010
1,545
625
Shady Dale, Georgia
First, let me say that I'm a nostalgia junkie. Old video games <check>, gumball machines <check>, pay telephone <working on it>, newspaper vending rack <check>

I've got an old newspaper rack, a monitor that fits just right and an old Mac Mini running Snow Leopard. I get the newspaper headlines front pages from Newseum where they have the exact same file name each day. I then crop them to only display the top half of the front page.

I'm sure this is probably pretty simple but it is beyond my skill set. I'd like my Mac Mini to download these file sometime during the night. Crop them and drop them in a file overwriting the files already there. I use the screen saver to play them one after another displaying them for a few seconds before switching. Anyone have any ideas or that can point me in the right direction/

Example newspaper front page:
http://www.newseum.org/todaysfrontpages/?tfp_display=list&tfp_id=GA_AH

 
Have you tried Automator? What you described seems well within its abilities.

1. To download specific URLs, put these two Actions in series:
Get Specified URLs
Download URLs
The first one holds a manually entered list of URLs. That's where you'd put your list of URLs that are the same every day.

That action then feeds the list into Download URLs, which downloads them. At that point, you should have a bunch of downloaded files/images. If not, then tell us exactly what you have, and how that differs from what you want.

You may also want to look at these Actions:
Get Image URLs from Articles
Get Image URLs from Webpages

There are other actions for working with URLs, so be sure to look at them.

2. After there are a bunch of images in a folder (the images from the Download URLs action), then you can crop them with this Action:
Crop Images
That Action operates on image files, not URLs, so first you'll need these Actions:
Get Folder Contents
Filter Finder Items
The first action should specify the Downloads folder where the just-downloaded image files reside. The filter should pass only images, so the Crop Images that follows it receives only image files.

After the cropping is done, use another Files and Folders action to move the images to your desired destination folder.

Scheduling the workflow to run at a certain time during the night should be pretty easy. You could set up a Calendar, or there are other approaches. Get the process working in Automator first, then come back to discuss how to schedule it.

This is just a general outline, but the Actions I listed and the sequence of them should be pretty close to what's needed. If you get stuck at some point, come back and describe exactly where you're stuck, along with what you have so far.
 
Last edited:
Have you tried Automator? What you described seems well within its abilities.

Thank you for pointing me the right direction. Automator is the right answer to gather the photos, download them and move them. Cropping however with automator crops from the center which cuts off the top and bottom of an image.
 
Last edited by a moderator:
Sorry. I must have been on a PPC machine the last time I used Propper Cropper. I now see that the action doesn't work on my Intel machine.
 
I googled for automator crop action. Two of the top results mention ImageMagick and Pixelmator.

http://apple.stackexchange.com/ques...tch-crop-with-custom-coordinates-measurements
https://discussions.apple.com/thread/5058938


The ImageMagick website has the precompiled binary for Yosemite. I didn't see a Snow Leopard binary, but I didn't look very hard. If no binary can be found, it will need to be compiled from source, which they recommend MacPorts for.

Pixelmator is available on the Mac App Store. There appear to be many other image cropping tools there.
 
Update.

I find that Automator will use the Propper Cropper action if Automator is set to open in 32-bit mode--or at least it will under Snow Leopard on an Intel Mac.
 

Attachments

  • Screen shot 2015-04-21 at 4.19.17 PM.png
    Screen shot 2015-04-21 at 4.19.17 PM.png
    52.6 KB · Views: 184
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.