Hazel vs Hammerspoon
When comparing Hazel vs Hammerspoon, the Slant community recommends Hazel for most people. In the question“What are the best power user tools for macOS?” Hazel is ranked 14th while Hammerspoon is ranked 38th. The most important reason people chose Hazel is:
Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create. Have Hazel move files around based on name, date, type, what site/email address it came from (Safari and Mail only) and much more. Automatically put your music in your Music folder, movies in Movies. Keep your downloads off the desktop and put them where they are supposed to be.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Automatically cleans up and maintains folders
Hazel watches whatever folders you tell it to, automatically organizing your files according to the rules you create. Have Hazel move files around based on name, date, type, what site/email address it came from (Safari and Mail only) and much more. Automatically put your music in your Music folder, movies in Movies. Keep your downloads off the desktop and put them where they are supposed to be.
Pro Very customizable
More so than alternatives.
Pro Cleans up after uninstalling an application
When you delete an application Hazel will pop up and show you a list of attached files belonging to the deleted app to clean your uninstall more correctly.
Pro iLife Support
Hazel features new actions to import your files into iPhoto or iTunes. And with Hazel 3, you can import into Aperture projects and folders as well.
Pro Process files depending on their content
Its in-file search criteria allows it to extract dates from files (e.g., to add to the filename) and to categorize recurrent files (e.g., receipts) into subfolders (or to treat them in some specific way).
Pro 1512 issues are closed in the download page in GitHub
https://github.com/Hammerspoon/hammerspoon/issues
They do fix issues that come from the community.
Pro Deeply customizable
Hammerspoon's Lua scripting and broad API allows you to perform any action you can imagine on your mac. It hooks into many OS APIs directly and has some high-level APIs to manipulate things like Spotify or iTunes. See the full list here.
Pro Automate actions based on the operating system
Hammerspoon lets you hook into OS level events and trigger any action you can imagine. From setting up a simple keyboard shortcut to launching a complex workflow using multiple apps and scripts.
Cons
Con Expensive
Con Doesn't work well with subfolders
The rules don't work very well with subfolders and working with archive files (zip, rar, gz, 7z, etc) is also limited.
Con Rules creation is a time consuming process
To really enjoy the power of Hazel, you will need to progressively create more and more rules to manage each specific kind of file, but this process is slow, quite annoying when you have many similar rules, and can only be learned on the way, as you find new uses for it.
Con Has 324 issues on their download page in GitHub
https://github.com/Hammerspoon/hammerspoon/issues
I can not list all the issues.
Con Some knowledge of programming required
Hammerspoon is scripted in the Lua programming language, and some familiarity with programming in general will be needed to use it. Some plugins exist that can be used by adding some files to a specific folder, but this will not give the flexibility that is so key to Hammerspoon