When comparing Hammerspoon vs ShiftIt, the Slant community recommends Hammerspoon for most people. In the question“What are the best power user tools for macOS?” Hammerspoon is ranked 39th while ShiftIt is ranked 50th. The most important reason people chose Hammerspoon is:
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](https://www.hammerspoon.org/docs/).
Ranked in these QuestionsQuestion Ranking
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.
Pro Easy to configure
ShiftIt is configured through a simple UI where you simply press the hotkeys you wish to map to a certain action.
Pro Open source
ShiftIt is very straight-forward to use for most frequent usages.
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
Con A little slow
Similar to Spectacle, but it has a few more features, such as being able to pick the size adjustment increments. Spectacle was a little faster, though. Repeated size changes or moves in succession can cause it to wait for it to complete.
Con Imprecise when readjusting sizes
Con Doesn't support moving windows between workspaces
There's no way to move a window to a different workspace with hotkeys in ShiftIt.