keronextra.blogg.se

Hammerspoon program series of keystrokes
Hammerspoon program series of keystrokes







hammerspoon program series of keystrokes
  1. #Hammerspoon program series of keystrokes how to#
  2. #Hammerspoon program series of keystrokes update#

Jason Rudolph's Karabiner+Hammerspoon setup which focuses on home-row centric shortcuts for cursor navigation and window managment (ht: about these in terms of the capabilities they enable relative to the caps-lock hyper key and Spectacle cheat sheet via a shortcut that we put together in the previous post, it seems there is a lot of potential.A quick, customizable, nestable, menu system you can access via a system-wide keyboard shortcut. FryJay's MenuHammer - "A Spacemacs inspired menu system".🤯Ī unit of re-usable scripting in Hammerspoon is called a 'spoon'.Īfter trying out many different spoons and customizations, two projects really caught my eye: Keep in mind we're talking about system-wide key bindings here – not something isolated to a single application. For our purposes here, we're exploring Hammerspoon primarily in the context of using it to react to keyboard shortcuts and trigger something in response. Hammerspoon is an application you run in the background that loads custom Lua scripts to interact with your system, allowing you to script behaviors to react to system events. I dug deeper and deeper into the Hammerspoon ecosystem, looked at more custom Karabiner and Hammerspoon settings, and heard some feedback from my first post. In order to to try out global vi mode w/Karabiner, I had to sacrifice hyper+k from the Spectacle cheatsheet and switch that to be right-option+k. Additionally, tab can be rigged up to act as a modifier in conjunction with the hyper key to enable quick access to home/end/pgdn/pgup – which is especially awesome when you are on a laptop keyboard. With this Karabiner recipe enabled, you press a hyper key and then h/j/k/l to move the cursor left/down/up/right. Then, mid-way through patting myself on the back, I discovered global vi mode with a hyper key and Karabiner. I like keyboard shortcuts bound to keys based on a pnemonic, so binding my global spectacle keyboard shortcut cheatsheet to hyper+k seemed like a good, quick win that would help me memorize those Spectacle shortcuts. Having an extra meta key with a whole slew of nonconflicting keybinding slots seemed awesome. I had combed through many blogs and git repositories. This is something that happens a lot in different organizations.After my initial experiments using Karabiner to bind a keyboard shortcut to an image-based cheatsheet and leverage a hyper key to avoid application level key binding conflicts and finger twister, I was super excited.

#Hammerspoon program series of keystrokes update#

Let’s say I want to update a number of prices so that product margin meet a certain goal.

#Hammerspoon program series of keystrokes how to#

Here is how to create a macro that automates a simply series of keystrokes. Complicated macros require significant programming skills but pretty much any one can create a simple one by recording key strokes. Macros can vary from the super simple to the ultra complex. If you ever find yourself doing a repetitive task (for example: changing a specific variable in a number of places to update a spreadsheet or pulling weekly reports for review) it is likely a macro can help simplify the process. Of course there are also regular reports that are output in excel that require some additional work. This means when even a small thing changes it has the potential to be a replicated change in a number of areas. Databases by nature are intended to hold a lot of information, often they contain entries for different instances of very similar information.









Hammerspoon program series of keystrokes