Automate file tasks with File Buddy droplets
On classic Mac OS and OS X alike, AppleScript is a very useful tool for automating commonly performed tasks. I’ve previously shared a couple of ways in which AppleScript can be used to improve Finder workflow. That was mainly with respect to window management. For simple, but tedious tasks involving file metadata, I find a program called File Buddy to be a better option.
File Buddy is a Swiss army knife of file management. While the application has an incredible depth, you can fundamentally think of it as a powerful version of Finder’s Info window. If you open File Buddy, press File > Get Info… and select a file (or, after rebuilding the desktop file, just drag and drop it on File Buddy’s icon), then the following window will appear:
In File Buddy’s Info window, you can inspect and manually modify the value of any given property of the file. In the screenshot, you can see that I’ve queued up a couple of changes, indicated by the red check marks, that I can apply by pressing a Save button.
But – and this is one of File Buddy’s selling points – instead of pressing Save, you can press the icon with a water drop near the top of the window. This will save the queued changes in a File Buddy droplet, which is a small program that will apply those changes to any file that is dropped on it. Optionally, if you drag a folder, then the changes will be recursively applied to all the files in that folder.
Droplets are especially useful for quickly changing something a particular file, such as its creator code. For example, an interoperability issue between classic Mac OS and OS X is that OS X gives text clippings the creator code MACS
, whereas classic Mac OS expects the creator code drag
. This means that text clippings created on OS X cannot be opened on OS 9! To mitigate this, I have a droplet on my desktop called “Fix Clipping”, onto which I can drag any file to change its creator code to drag
.
In general, File Buddy’s droplets are great for quickly opening a file with a different program. Let’s say I want to open an HTML document in BBEdit. Instead of manually opening the file using BBEdit’s Open… menu, I simply drop it on my “Make BBEdit” droplet, which changes the creator code to R*ch
. Now I can double-click the file to open it in BBEdit.
What’s so great about droplets is that they’re a graphical, Macintosh-like solution to the problem of bulk processing. While File Buddy offers a more conventional list-based bulk processing feature, droplets are what really sets the product apart. Just like the Macintosh itself, they are simple, elegant and easy to use.
File Buddy 7, the last version with support for both OS 9 and OS X, has graciously been released for free. File Buddy is still being developed for modern versions of OS X and is available for sale on Skytag Software’s web site.