• tyler@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    Sorry for the delayed reply. There a bunch of existing Spoons you can use, and if something doesn’t exist you can just build it yourself. Some examples of what I’ve done are things like a shortcut that will paste your clipboard into a field that blocks pasting, or a shortcut that automatically calculates TOTP codes, opens up Tunnelblik and puts the TOTP code in for company VPNs that require special combinations. I have a shortcut that overlays a grid onto the screen and I will hit a button to choose the top left point of the window and then another button for the bottom right and it will resize to that grid area. I have a shortcut that will jump to any application by name, eg I hit alt f and then a small window pops up and I then hit the letter corresponding to the application I want, so like f would take me to Firefox, m would take me to messages.

    You can pretty much do anything, because Hammerspoon just makes Mac apis easier to use, and Macs already have Automator and Apple Scripts so its just like an easy interface with user made Spoons that make stuff easier to do.