The Mac operating system comes with some pretty powerful tools out of the box. One of which, I am a big fan of. The Mac ‘Automator’ is a basic almost script editor which uses workflows to automate common tasks, and with all tools like this they can be manipulated to replace full blow applications.
A long time ago applications which downloaded entire websites at the click of a button became very popular. However they lively hoods are now hanging in the balance.
Using the automator tool you can replicate the way they used to work. I do often find myself browsing through galleries of images and needing to download all of them on the page.
To build up such a script all you need to do is launch the Automator application, from the templates window select the Workflow option:
Now, using the options on the left hand side, highlight the Internet icon in the library. Then from the ‘actions’ pane double click the ‘Get Current Webpage from Safari’. You should find you will now have a new item in the workflow on the right hand side. This item does what it says on the tin, it will capture the URL of the webpage you are currently viewing in safari.
Next you will need to double click the ‘Get Image URLs from Webpage’. This item will crawl the webpage and grab a list of URLs of any pictures included on the page.
Now select the ‘Download URLs’ item from the list. It’s although worth noting at this stage you will need to specify a destination for your images to be downloaded to. As you can see below I rip my images to a folder aptly labelled ‘Rip’ inside my images folder. I use this as a temporary holding area.
The next step in my workflow in a simple ‘Growl’ notification. This could be expanded on if you so wished, to include a script to email you on completion or something similar. Once done you should find your workflow looks something similar to the one below:
To save you having to build this from scratch, click here to download the workflow.