Torsten Stelling
Torsten Stelling
 This should help, even if it is old, it should solve your problems. And you need to do it on all 3 of...
I think it is already possible with a keyboard handler... ``` keyboardEventListener = hs.eventtap.new({ hs.eventtap.event.types.flagsChanged, hs.eventtap.event.types.keyUp, hs.eventtap.event.types.keyDown }, keyboardHandler) keyboardEventListener:start() ``` Use this and define a `keyboardHandler` function where you...
I did not use that function for my code, since i wrote some on my own... Here is an excerpt from my code. I found some things from that online...
The numbers are looking fine to me. Mine are also high values. I think they are random... As far as i remember there was a problem with checking for the...
May be this is a workaround/solution: ```lua local ctrlCmdOpt = { 'ctrl', 'cmd', 'alt' } hs.hotkey.bind(ctrlCmdOpt, "t", function() local lastApplication = hs.application.frontmostApplication() hs.application.get("Hammerspoon"):activate() hs.dialog.textPrompt("Test prompt", "Enter something", "", "OK", "Cancel")...
May be adding looking first in `~/.config/hammerspoon` for a config and then in `./hammerspoon/` as default to make a slow switch to a new config folder. For new users use...
This is a nice idea i need to look into. I know it is a long time to respond, but i never had time to extend it a little bit...
I really need to restructure some of this plugin. So i will look into this.
Do you know what Press want in source? I can fix this fast if i know what Press accepts. I don't have any Android device at hand. Can you mail...
I think this one should be easy to implement. http://james.padolsey.com/javascript/prettyprint-for-javascript/