Applescript is Apple’s somewhat obscure scripting language, but it’s a powerful tool for novice programs to take advantage of. With a few clever Applescripts that handle annoying tasks, we can increase productivity and automate your blues away.
What Is Applescript?
Applescript interfaces with most Mac applications like Finder, iTunes, QuickTime and Mail. If you’re familiar with Automator, Applescript is sort of a power user’s version of that application.
1. Toggle Hidden Files
Save this out as an application, and you’ll have a clickable toggle to reveal hidden files in Finder.
2. Batch Rename Files
This script will prompt the user for a filename and then automatically rename selected files with that text string plus an incrementing index. It even helpfully adds leading zeros for files one through ten.
3. Scale an Image by Percentage
This script will scale images to 50% of their original size.
4. Scale image to pixel width
This uses much of the start of the previous scripts but scales to pixel widths instead. It will prompt the user for the desired pixel width and append that pixel width to the start of the new file’s name.
5. Back Up Folders to Chosen Destination
This simple script duplicates a chosen folder to a chosen destination which can make complicated drag-and-drop copying a little less painful.
Our latest tutorials delivered straight to your inbox