A cool AppleScript to resize your wallpaper
I’m a total wallpaper whore. Seriously. I have nearly 1GB of wallpapers (766MB) and I need them to work with my MacBook completely. In order to scale a mass amount of wallpapers at a time, I was trying all sorts of methods to do so… Photoshop, Automator, Skitch, and a few other programs until I ran across some information almost a year and a half ago about the Image modifying tools built into Mac OS X. After some reading up on some AppleScript how-tos and browsing some forums I started to work on my original imageresize.scpt and for a while it worked for me.
The original concept was to just scale the images and move the original files to the trash then have me move the modified files to my wallpaper folder, and it did just that, plan and simple. But given my need to make things more and more complicated to make life easier and less complicated I decided to take my AppleScripting to the next level.
What my AppleScript now does is scales the images you drag onto it, moves them to a specific folder based on the month (I seriously have a ton of wallpapers and need to sort them by month…), then moves the original image to another folder. From how I see it, I may want the original image at some point…
To get things set up, download one of the two versions below (or copy the source, it’s up to you), and then drag your pictures you wish to resize to the .app version of the imageresize/imageresize-original script and it will do the rest (as I described above).
So, given how happy I am with my new AppleScript, I thought I’d offer it to everyone… hell, I’ll even offer my original AppleScript for those who just want to scale an image and delete the original.
–
Source of imageresize <- the new one that moves files and such
Download imageresize.app and imageresize.scpt as a ZIP
–
Source of imageresize-original <- the old one that deletes the original file and such
Download imageresize-original.app and imageresize.scpt as ZIP
–
I hope you can enjoy and find as much of use of these AppleScripts as I do…
Let me know what you think or if you have any questions in the comments!
-Mike