Repository navigation
Hammerspoon 2 0.0.15
Added
- hs.eventtap now supports system key events (volume, brightness, media, etc)
- hs.ui.webview pages can now send messages back into your JS config
- hs.canvas can now fade canvases when showing/hiding/destroying
- App updating is now implemented
- HSAudioDevice objects now support isInUse and jackConnected
- hs.eventtap.isSecureInputEnabled() and secureInputPID()
Changed
- Functions/Methods that claim to return null now actually return null instead of undefined
- hs.ax watchers will now be automatically destroyed when the elements they are watching, are destroyed
- hs.ui's show() now orders a window to the front if it is called on an already open window
- hs.httpserver request callback now receives query parameters as an argument
- hs.hashing is now properly documented as hs.hashing rather than hs.hash
- hs.midi can now open individual ports of a multi-port device
- HSImage.copyImage() has been renamed to HSImage.duplicate()
- hs.hotkey modals can now be created without a hotkey
- hs.canvas minimumTextSize() can not be used without an existing element
- HSColor objects can now be created with hex strings, colour names and more.
- hs.canvas roundedRectRadii can now be specified with different X and Y radii
Fixed
- hs.ui's show() method no longer recreates the window every time it is called
- hs.canvas' destroy() method now destroys its entire element tree, to avoid slow memory recovery
New Contributors
- @blagerweij made their first contribution in #285
Full Changelog: 0.0.14...0.0.15