Hammerspoon

詳細情報

タイトル Hammerspoon
URL http://www.hammerspoon.org/
バージョン ver 1.0.0
更新日 2024/08/06
追加日 2016/02/22
種別 フリーソフト
説明 Luaスクリプト経由でOS Xの各種機能を呼び出すことが出来る自動化ツール。

レビュー

レビューはありません。

スクリーンショット

スクリーンショットはありません。

更新グラフ

バージョン履歴

1.0.0 - 06 Aug 2024
GitHub release page
Minimum macOS version: 12.0
Anniversary
This release comes after 100 releases of 0.9, and just two months shy of Hammerspoon’s 10th birthday.
Thank you all for your part in this project, it’s been a lot of fun!
Fixed
Large amounts of Console window history should now consume less RAM and Hammerspoon should no longer hang when large amounts of text are written quickly to the window.
hs.network.ping should now always call the didFinish callback
hs.pasteboard.callbackWhenChanged() now correctly accepts nil for its first argument, as documented
Moving a window to another Space is now fixed in macOS Sonoma
Various typos/grammar/mistakes in docstrings have been fixed
Changed
Lua has been updated to 5.4.7
hs.urlevent callback now receives an extra parameter containing the full original URL
When holding Cmd and Option at startup, the dialog for resetting preferences is now clearer
Added
hs.spotify.getCurrentTrackArtworkURL()
hs.streamdeck now supports the newer hardware variant of the Stream Deck XL
(省略されました)
0.9.100 - 14 Mar 2023
Fixed
None
Changed
None
Added
hs.hash now has binary-preserving variants of MD5/SHA1/SHA256/SHA512 (where the existing functions encode the hash to a hex string). These functions have been added to support the new OBS Spoon
The default behaviour of hs.application.find() has changed slightly. You may get different results than before, but they should be more correct now.
0.9.100 - 14 Mar 2023
0.9.99 - 13 Mar 2023
0.9.98 - 12 Mar 2023
0.9.97 - 30 Mar 2022
0.9.96 - 28 Mar 2022
0.9.99 - 13 Mar 2023
Fixed
Revert SocketRocket pod update. Closes #3422 #3424
Fix hs.application.get() interpreting Lua patterns #3425
Changed
None
Added
hs.application.find() now has two additional parameters for controlling how the hint string is interpreted
0.9.99 - 13 Mar 2023
0.9.98 - 12 Mar 2023
0.9.97 - 30 Mar 2022
0.9.96 - 28 Mar 2022
0.9.95 - 09 Mar 2022
0.9.98 - 12 Mar 2023
Fixed
hs.image:colorAt() now takes into account scale #3185
Fixed crash in hs.image.getExifFromPath() #3177
Fix hs.spaces so it works when hs.spaces.screensHaveSeparateSpaces() is false #3196
Fix two crash bugs in hs.camera #3211
add DemoPro to SKIP_APPS_TRANSIENT_WINDOWS #3236
Fix bug where window switcher does not go away when caps lock is on #3238
Fix hs.application.get() always returning nil #3216
Fix lua-objc mapping to handle high/low surrogate pairs in hs.styledtext #3356
Spaces now finds Dock instead of Docker #3371
Truncate Console scrollback history #3400
Fix windowHints bugs with utf8 chars #3243
Fix ICMP socket leak in hs.ping #3419
Changed
Allow hs.chooser query to still be forwarded when no matching string exists #3232
Bump minimum requirements to macOS 11.0 #3312
Speed up window switching timers #3237
Added
(省略されました)
0.9.97 - 30 Mar 2022
Core
None
Extensions
Fixed: hs.menubar no longer overlaps images and text, if both are set. Fixes #3171
Fixed: hs.spaces no longer errors if Docker.app is installed. Fixes #3170
Added: hs.menubar:imagePosition()
0.9.97 - 30 Mar 2022
0.9.96 - 28 Mar 2022
0.9.95 - 09 Mar 2022
0.9.94 - 25 Feb 2022
0.9.93 - 13 Dec 2021
0.9.96 - 28 Mar 2022
Core
Lua search paths (package.path and package.cpath) have been updated to search in some additional locations
Extensions
Fixed: hs.http connection callbacks should no longer crash in some situations if Lua coroutines are being used.
Fixed: Prevented a possible race condition in hs.webview when fading and deleting an object
Added: hs.webview.toolbar:toolbarStyle()
Added: hs.screen:getInfo() (may be helpful for distinguishing between multiple identical monitors)
Added: Various functions in hs.spaces
Changed: Several macOS SDK deprecations have been adapted to, across multiple modules. Please report any regressions found.
0.9.96 - 28 Mar 2022
0.9.95 - 09 Mar 2022
0.9.94 - 25 Feb 2022
0.9.93 - 13 Dec 2021
0.9.92 - 12 Dec 2021
0.9.95 - 09 Mar 2022
Core
None
Extensions
Fixed: hs.camera.isInUse() no longer crashes
0.9.95 - 09 Mar 2022
0.9.94 - 25 Feb 2022
0.9.93 - 13 Dec 2021
0.9.92 - 12 Dec 2021
0.9.91 - 27 Oct 2021
0.9.94 - 25 Feb 2022
Core
Default values of package.path/package.cpath should now work with Homebrew luarocks on Apple Silicon
Extensions
Added: hs.razer to support Razer Tartarus V2
Added: hs.image.toASCII()
Added: hs.http.put(), hs.http.asyncPut()
Added: hs.streamdeck now supports the Mk2 model
Added: hs.urlevent.mailtoCallback for handling mailto: URIs
Fixed: hs.audiodevice:setBalance() now works correctly
Fixed: hs.doc.builder can now be loaded again
Fixed: hs.camera.isInUse() now works correctly
Fixed: hs.serial.deviceCallback() should no longer crash in some circumstances
Fixed: hs.mouse should now correctly determine if a pointing device is internal
Fixed: hs.streamdeck now correctly reads serial/firmware information on all models
Changed: hs.processInfo now contains information about CPU architecture and use of Rosetta2
Changed: Attempted to work around a crash in hs.eventtap
Changed: hs.ipc callbacks now limit how many times they can be called recursively, to work around a potential crash
Changed: hs.keycodes now attempts to work around a change in macOS 12 that caused keycodes 93 and 94 to be listed incorrectly
(省略されました)
0.9.93 - 13 Dec 2021
Core
None
Extensions
Fixed: hs.docs.hsdocs and hs.docs.markdown now work, allowing the “Help” button in the Console window to function
0.9.93 - 13 Dec 2021
0.9.92 - 12 Dec 2021
0.9.91 - 27 Oct 2021
0.9.90 - 08 May 2021
0.9.89 - 03 May 2021
0.9.92 - 12 Dec 2021
Core
Significant rearrangement of the Hammerspoon.app bundle. This should be transparent to users, but there may be some modules that are broken. Please open Issues on GitHub if this affects you.
Extensions
Added: hs.shortcuts and a Shortcuts action for executing Lua in Hammerspoon
Added: hs.audiodevice:inUse() to identify if an audio device (input or output) is currently being used
Added: hs.camera for enumerating/watching camera devices, and checking the “in use” status
Fixed: hs.httpserver should now be able to process text WebSocket messages properly
Fixed: hs.http should no longer crash when its callbacks are called from a Lua corouting
Fixed: hs.expose should now handle screen layouts better
Changed: hs.canvas should now handle Lua garbage collection better
0.9.92 - 12 Dec 2021
0.9.91 - 27 Oct 2021
0.9.90 - 08 May 2021
0.9.89 - 03 May 2021
0.9.88 - 27 Apr 2021
0.9.91 - 27 Oct 2021
Core
Various updates for macOS 12 Monterey
Extensions
Added: hs.serial.availablePortDetails()
Fixed: hs.chooser subText field now truncates correctly
Fixed: hs.vox now handles VOX not running
Fixed: hs.loadSpoon() will no longer cause a stack overflow crash if passed an empty Spoon name
0.9.91 - 27 Oct 2021
0.9.90 - 08 May 2021
0.9.89 - 03 May 2021
0.9.88 - 27 Apr 2021
0.9.87 - 10 Apr 2021