5 ms·
Automator and AppleScript are the top two automation tools on macOS. Automator is the more user-friendly of the two; provides a visual workflow interface for ch
by csilverman 6y ago
Automator and AppleScript are the top two automation tools on macOS. Automator is the more user-friendly of the two; provides a visual workflow interface for chaining together tasks and capabilities. AppleScript is Apple's attempt at natural-language scripting. Between the two, there's very little you can't automate on Mac, although both have counter-intuitive idiosyncrasies that can be frustrating.
One of the best non-Apple—and, seemingly, least well-known—Mac automation tools is called Hazel: https://www.noodlesoft.com/ https://www.noodlesoft.com/. I've been using it for years, and I strongly recomend it.
Hazel does one specific thing, but it does it really well: it watches a specific folder for files that match criteria you specify, and it does something to them: moves them, copies them, renames them, even passes them to a script (AppleScript or Javascript) or Automator workflow. Here's a few things I'm doing with Hazel:
- keeps my desktop clean by moving all files that are more than a day old into a "desktop_archive" folder, which is organized into month and year folders: /2019/09, 2019/10, etc.
- automatically unpacks downloaded zip files, and moves any fonts I download into a Fonts folder
- checks the desktop for any text files that begin with "notes" (or "project ideas", "journal", and a couple of other things) and moves them to their respective folders, also organized chronologically.
- checks the desktop for any image files with specific filenames, and runs an Automator workflow on them that resizes them, renames them, converts them to JPG, and uploads them to a remote server. (This is for a project I'm doing where I upload sketches to my blog; all I need to do is save a screenshot to my desktop, and Hazel takes care of the rest.)
Depends on your needs, but Hazel is one of the best apps I've found for automated file management. The setup I have right now is that I can save certain regularly created types of files to my desktop and Hazel does the rest. Saves me a lot of mucking about saving and formatting stuff. (Disclaimer: I don't work at Hazel, know anyone who does, or have any incentive to say nice stuff about them—it's just one of these really useful apps.)
Also, FYI, Hazel is pay-once: no scummy subware pricing or anything like that.