


Once a Spoon is installed, you need to use the hs.loadSpoon () function to load it.

Here's an example I quickly put together which scrolls down as long as I keep my right mouse button pressed.
#Hammerspoon mouse click install
Hammerspoon will install the Spoon under /.hammerspoon/Spoons/. One way to solve this is to start a timer when the mouse button is pressed and stop it when the mouse button is released. When I use it to click and drag windows around (my main use case) it does not show the window moving with the mouse, only jumping to the mouse location when buttons are released. To install the spoon, download its zip file from unpack it, and double-click on the resulting MouseCircle.spoon file. The code below is as close as I've gotten, but it's not perfect. Your default code/text editor will open to /.hammerspoon/a. I'm looking for a way to map a key combo (something like fn+z) to a left mouse click that is maintained for as long as the key press is maintained. Click the Hammerspoon menu icon and select Open Config.
