Ableton live and hammerspoon7/1/2023 ![]() ![]() ![]() Only downside is I have a relatively problematic left wrist and this set up added to the already LHS stress to the already very imbalanced qwerty layout, so it forced me off mechanical keyboards to a low profile logitech right around the time COVID-19 hit. Took me about a week for the muscle memory to catch up and allow me to correctly hit ctrl L with the right hand when I want to go to the address bar, but now I'm ridiculously fast moving around in Excel without having to touch the arrow keys. Then I made fn = pgdn, fn = home, fn ' = end and fn \ = delete, with the same augmented fn LHS modifiers. I've actually gone kind of crazy with this idea and made my left ctrl, shift and alt behave as fn ctrl, fn shift and fn alt, so that e.g. I miss it dearly when I'm not on Windows.Īnd I actually use caps lock as a "fn" key for hjkl/arrows. Having used both Hammerspoon and AHK, the latter is somehow both terser and more ergonomic. Disable the insert key because I've never wanted its functionality, but I would sometimes hit it accidentally. I previously used Karabiner Elements for making caps lock work as escape when tapped and control when held, but I was able to uninstall Karabiner because Hammerspoon was sufficient.ĥ. ![]() I use this in conjunction with remapping caps lock to control in macOS system preferences. Because macOS would frequently get it wrong, including treating my monitor as a speaker for some reason (it doesn't have built-in speakers).Ĥ. Automatically switch audio input and output devices according to my specified priority order. By holding it down and pressing another key, I can switch between specific programs without cycling. Use shift when pasting something to simulate typing in the text instead, getting around websites that block pasting.Ģ. This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.I've started to do similar things on macOS using Hammerspoon. Leanpub is copyright © 2010-2023 Ruboss Technology Corp. 8 Writing your own extensions and Spoons.Other resources and configuration examples 7 DRAFT Hammerspoon cookbook, tips and tricks.5 Just enough Lua to be productive with Hammerspoon.In this book you will learn how to get started with Hammerspoon, how to use pre-made modules, and how to write your own, to achieve an unprecedented level of control over your Mac.ĭebugging tools and the Hammerspoon consoleĪutomated Spoon installation and configuration Automatically pause audio playback when headphones are unplugged.Keep a configurable and persistent clipboard history.Keyboard-triggered translation of selected text between arbitrary human languages.Set up actions to happen automatically when switching between WiFi networks-for example, for reconfiguring proxies in some applications.Replace Spotlight, Lacona and other launchers with a fully configurable, extensible launcher, which allows not only to open applications, files and bookmarks, but to trigger arbitrary Lua functions.When combined with Site-specific Browsers, this allows for highly flexible management of bookmarks, plugins and search configurations. Dispatch URLs to different browsers based on regular expression patterns.Manipulate windows using keyboard shortcuts to resize, move and arrange them.For example: automated tagging and filing in Evernote, mail archival in Mail or Outlook, filing items from multiple applications to OmniFocus using consistent keyboard shortcuts, or muting/unmuting a conversation in Skype. Add missing or more convenient keyboard shortcuts to applications, even for complex multi-step actions.Here are some examples of things you can do with it: Using Hammerspoon, you can replace many stand-alone Mac utilities for controlling or customizing specific aspects of your Mac (those that tend to overcrowd the menubar). Hammerspoon configuration is written in Lua, a popular embedded programming language. It also allows interfacing with AppleScript, the most common mechanism for automation on the Mac. It enables interaction with the system at multiple layers-from low-level file system or network access, mouse or keyboard event capture and generation, all the way to manipulating applications or windows, processing URLs and drawing on the screen. In this book you will learn how to use Hammerspoon, a powerful open-source framework which makes using a Mac more pleasant, productive and fun. ![]()
0 Comments
Leave a Reply. |