![hammerspoon press key hammerspoon press key](https://thumbs.dreamstime.com/z/woman-press-key-safety-lock-pad-number-secret-password-protection-woman-press-key-safety-lock-pad-number-secret-password-156695906.jpg)
![hammerspoon press key hammerspoon press key](https://sc01.alicdn.com/kf/UTB8MxB9kCnEXKJk43Ubq6zLppXa5.jpg)
Others have noted Karabiner, a keyboard customizer for OS X. It looks like that's outdated, and is otherwise disabled / impossible to do with the Galaxy client.
![hammerspoon press key hammerspoon press key](https://mattorb.com/content/images/size/w1000/2019/09/amauri-acosta-montiel-@amauriam-RMttILfqOi4-unsplash.jpg)
Some people have mentioned using DOSBox Mapper to fix their problems. Thought I'd do a writeup here.įirst, some outdated or otherwise tough information: I'm a programmer and, with a little digging, I was able to come up with something that I think most everyone could use or customize to help solve the problem. I've noted across game forums a number of complaints about function (F1 - F12) hot keys conflicting with the system, rendering games frustrating or impossible to use. My finger basically rests on the Right Command key.I'm a MacOS / OSX user. That's an incredibly small amount of CPU power used for an app that I use 20 times a minute. In the following case, from the time rcmd started running (3 days ago) until now, it only consumed about 20 minutes of CPU time. By default Activity Monitor updates every 5 seconds, so even if the CPU % was at 7% for a few milliseconds, you'll still see it for 5 seconds.Įven with the Very often (1 sec) setting, the % CPU metric is still not best for judging app efficiency. Usually, you shouldn't look at the % CPU field, but at the CPU Time metric. The compute workload is minimal and the spike only lasts a few milliseconds. This is used in the scoring algorithm for choosing which apps get priority in the dynamic first letter assignment. Rcmd has to listen on window change events and keep track of how often an app is switched to. Looking at the % CPU usage is not a very accurate way of judging the app's efficiency.Įspecially on M1, read more about it in this article: CPU percentage is misleading on M1 Macs by The Eclectic Light Company Why do I see CPU usage spikes?
![hammerspoon press key hammerspoon press key](https://res.cloudinary.com/practicaldev/image/fetch/s--G1YBE1qe--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/i/wfxsdsbuhiaommcl4oci.jpg)
Keep in mind that you can always change the trigger key to something else than Right Command if that key is not working on your keyboard.
#Hammerspoon press key update#
This usually happens with browser as they update frequently. This happens because that app has updated itself in the background while it was running.īecause the app on disk is different than the running app, the system creates another app instance when rcmd tries to focus it. To fix this, restart the app you are trying to focus. New window is opened when activating an already running app
#Hammerspoon press key windows#
There is a macOS native way to switch between windows of the same app: The Accessibility API would allow this in some manner but it is not allowed on the App Store. Unfortunately there's no macOS API that allows us to focus specific windows of an app. Pressing ⌘ + S yet again will cycle and focus ShortcutsĬan I cycle between windows of the same app?.Pressing ⌘ + S again will cycle and focus Spotify.If you have multiple apps with the same first letter, pressing that letter multiple times will cycle between those apps.įor example, if you have Safari, Spotify and Shortcuts running: Music and Mail)?īest way to handle this is to assign a custom key for the second app.įor example, if rcmd focuses Mail on ⌘ + M and you want to assign ⌘ + U for Music:Īnd that's it, from now on you can use ⌘ + U to focuse the Music app. What do I do if I have two apps with the same first letter (e.g. Make sure you're running rcmd v2.0.1 or later, check if the Apps Key is configured correctly and restart the app. There was a bug in the migration of the settings and in handling number keys in v2.0.0.