{"id":132221,"date":"2025-12-25T10:31:44","date_gmt":"2025-12-25T01:31:44","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=132221"},"modified":"2025-12-25T10:31:44","modified_gmt":"2025-12-25T01:31:44","slug":"hammerspoon-1-1-0","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/hammerspoon-1-1-0\/","title":{"rendered":"Hammerspoon 1.1.0\u30ea\u30ea\u30fc\u30b9\u3068\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u672a\u6765\u301c10\u5e74\u76ee\u306e\u8ee2\u63db\u70b9\u306b\u7acb\u3064 macOS \u81ea\u52d5\u5316\u30c4\u30fc\u30eb"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/12\/s_20251225-_100517.jpg\" alt=\"\" width=\"1076\" height=\"673\" class=\"aligncenter size-full wp-image-132222\" \/><\/p>\n<p>macOS\u5411\u3051\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30eb<strong>Hammerspoon 1.1.0<\/strong>\u304c12\u670824\u65e5\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u30022024\u5e74\u590f\u306e1.0.0\u30ea\u30ea\u30fc\u30b9\u5f8c1\u5e74\u307b\u3069\u9759\u304b\u306a\u6642\u671f\u304c\u7d9a\u3044\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u306f\u3001\u65e5\u5e38\u7684\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc\u306b\u5b09\u3057\u3044\u4fee\u6b63\u3084\u6539\u5584\u304c\u591a\u6570\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u4eca\u56de\u306e\u30ea\u30ea\u30fc\u30b9\u306b\u5408\u308f\u305b\u3001\u958b\u767a\u8005\u306e1\u4eba\u3067\u3042\u308bcmsj\u6c0f\u306f<a href=\"https:\/\/www.reddit.com\/r\/hammerspoon\/comments\/1puln7j\/110_released_and_a_discussion_about_the_future\/\">Reddit<\/a>\u3067\u3001Hammerspoon\u306e\u4eca\u5f8c\u306e\u958b\u767a\u8a08\u753b\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3001\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Hammerspoon 1.1.0 \u306e\u4e3b\u306a\u5909\u66f4\u70b9<\/h2>\n<p>Hammerspoon 1.1.0 \u306e\u4e3b\u306a\u5909\u66f4\u70b9\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p><strong>\u4fee\u6b63\u30fb\u6539\u5584<\/strong>:<\/p>\n<ul>\n<li>hs.task \u306e\u5f15\u6570\u304c\u3059\u3079\u3066\u6587\u5b57\u5217\u304b\u3069\u3046\u304b\u691c\u8a3c\u3055\u308c\u308b\u3088\u3046\u306b<\/li>\n<li>Lua \u521d\u671f\u5316\u6642\u306e package.path \u304c\u6b63\u3057\u304f\u5c55\u958b\u3055\u308c\u308b\u3088\u3046\u306b<\/li>\n<li>hs.httpserver:start() \u304c WebSocket \u3092\u6b63\u3057\u304f\u51e6\u7406<\/li>\n<li>hs.window.filter \u304c\u30a2\u30d7\u30ea\u540d\u3067\u306f\u306a\u304f PID \u30d9\u30fc\u30b9\u3067\u8ffd\u8de1<\/li>\n<li>Stream Deck Mini v1 \u306e\u30dc\u30bf\u30f3\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u304c\u6b63\u5e38\u52d5\u4f5c<\/li>\n<li>\u30a2\u30d7\u30ea\u7d42\u4e86\u5f8c\u306b hs.window:application() \u304c Lua \u30b9\u30bf\u30c3\u30af\u3092\u58ca\u3059\u53ef\u80fd\u6027\u3092\u4fee\u6b63<\/li>\n<li>\u7d42\u4e86\u6e08\u307f\u30a2\u30d7\u30ea\u306e PID \u304c\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306b\u6e21\u3055\u308c\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u554f\u984c\u3092\u4fee\u6b63<\/li>\n<\/ul>\n<p><strong>\u6319\u52d5\u306e\u5909\u66f4<\/strong>:<\/p>\n<ul>\n<li>hs.urlevent \u306e scheme\/host \u304c\u5e38\u306b\u5c0f\u6587\u5b57\u5316<\/li>\n<li>hs.menubar:setMenu() \u304c\u6bce\u56de\u30e1\u30cb\u30e5\u30fc\u3092\u518d\u751f\u6210\u3057\u306a\u304f\u306a\u308a\u3001\u8868\u793a\u4e2d\u3067\u3082\u5909\u66f4\u53ef\u80fd\u306b<\/li>\n<li>hs.window:setFrame() \u304c \u201cEnhanced UI\u201d \u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8003\u616e<\/li>\n<li>hs.mouse.trackingSpeed() \u304c\u30c8\u30e9\u30c3\u30af\u30d1\u30c3\u30c9\u901f\u5ea6\u306b\u3082\u5bfe\u5fdc<\/li>\n<\/ul>\n<p><strong>\u65b0\u6a5f\u80fd<\/strong>:<\/p>\n<ul>\n<li>http\/https \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30cf\u30f3\u30c9\u30e9\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u969b\u3001Handoff URL \u3092\u30b5\u30dd\u30fc\u30c8<\/li>\n<li>hs.eventtap \u304c \u201csmart magnify\u201d \u30a4\u30d9\u30f3\u30c8\u3092\u751f\u6210\u53ef\u80fd\u306b<\/li>\n<li>hs.audiodevice:thru() \/ setThru() \u306b\u3088\u308a\u3001<\/li>\n<li>\u3042\u308b\u30c7\u30d0\u30a4\u30b9\u306e\u97f3\u58f0\u3092\u5225\u30c7\u30d0\u30a4\u30b9\u3078\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u51fa\u529b\u3067\u304d\u308b\u3088\u3046\u306b<\/li>\n<\/ul>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u73fe\u72b6 \u958b\u767a\u80053\u540d\u306e\u8ca0\u62c5\u3068 Objective\u2011C \u306e\u58c1<\/h2>\n<p>Hammerspoon\u306e\u958b\u767a\u8005cmsj\u6c0f\u306f\u3001Reddit\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u73fe\u72b6\u306b\u3064\u3044\u3066<a href=\"https:\/\/www.reddit.com\/r\/hammerspoon\/comments\/1puln7j\/110_released_and_a_discussion_about_the_future\/\">\u8aac\u660e<\/a>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/12\/s_20251225_102814.jpg\" alt=\"\" width=\"773\" height=\"595\" class=\"aligncenter size-full wp-image-132223\" \/><\/p>\n<p>\u540c\u6c0f\u306b\u3088\u308b\u3068\u3001Hammerspoon 10\u5e74\u306e\u6b74\u53f2\u306e\u4e2d\u3067\u591a\u304f\u306e\u30b3\u30f3\u30c8\u30ea\u30d3\u30e5\u30fc\u30bf\u30fc\u306b\u652f\u3048\u3089\u308c\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u8cea\u7684\u306a\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306e\u5927\u90e8\u5206\u306f\u4ee5\u4e0b\u306e3\u540d\u304c\u62c5\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>asmagill<\/li>\n<li>latenitefilms<\/li>\n<li>cmsj<\/li>\n<\/ul>\n<p>\u3057\u304b\u3057\u8fd1\u5e74\u306f\u3001\u73fe\u5b9f\u4e16\u754c\u306e\u5fd9\u3057\u3055\u3084\u3001Objective\u2011C \u30d9\u30fc\u30b9\u306e\u5de8\u5927\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u89e6\u308b\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u306e\u4f4e\u4e0b\u306b\u3088\u308a\u3001<strong>\u958b\u767a\u306e\u52e2\u3044\u306f\u904e\u53bb\u6700\u4f4e\u30ec\u30d9\u30eb<\/strong>\u306b\u307e\u3067\u843d\u3061\u8fbc\u3093\u3067\u3044\u308b\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>Hammerspoon \u306f\u300c\u30d0\u30c3\u30c6\u30ea\u30fc\u540c\u68b1\u300d\u601d\u60f3\u3067\u4fbf\u5229\u306a\u6a5f\u80fd\u3092\u3059\u3079\u3066\u5185\u5305\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5185\u90e8\u306f\u5c0f\u3055\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u96c6\u5408\u4f53\u3067\u69cb\u6210\u3055\u308c\u3066\u304a\u308a\u3001\u30d3\u30eb\u30c9\u3082\u914d\u5e03\u3082\u8907\u96d1\u3067\u3059\u3002\u3055\u3089\u306b\u3001Lua \u3068 Objective\u2011C \u3092\u3064\u306a\u3050\u5de8\u5927\u306a\u30d6\u30ea\u30c3\u30b8 <strong>LuaSkin<\/strong>\u304c\u5b58\u5728\u3057\u3001\u65b0\u898f\u30b3\u30f3\u30c8\u30ea\u30d3\u30e5\u30fc\u30bf\u30fc\u306b\u3068\u3063\u3066\u53c2\u5165\u969c\u58c1\u304c\u9ad8\u3044\u72b6\u614b\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Lua\u304b\u3089JavaScript\u3078\uff1f<\/h2>\n<p>\u73fe\u72b6\u3092\u6253\u7834\u3059\u308b\u305f\u3081\u3001cmsj\u6c0f\u306f\u6570\u30f6\u6708\u524d\u304b\u3089\u3001Hammerspoon\u3092<strong>Swift\u3067\u30bc\u30ed\u304b\u3089\u4f5c\u308a\u76f4\u3059\u5b9f\u9a13<\/strong>\u3092\u9032\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>LuaSkin\u3092\u6368\u3066\u3001\u4ee3\u308f\u308a\u306b<strong>JavaScriptCore(JSC)<\/strong>\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3067\u3001Web\u958b\u767a\u8005\u306b\u99b4\u67d3\u307f\u304c\u3042\u308a\u3001Lua\u3088\u308a\u30e6\u30fc\u30b6\u30fc\u5c64\u304c\u5e83\u3044JavaScript\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u3060\u672a\u5b8c\u6210\u3067\u8a2d\u8a08\u306b\u8ff7\u3044\u3082\u3042\u308b\u3082\u306e\u306e\u3001\u300c<strong>\u73fe\u4ee3\u7684\u3067\u8ca2\u732e\u3057\u3084\u3059\u3044 Hammerspoon<\/strong>\u300d\u3078\u306e\u9053\u7b4b\u304c\u898b\u3048\u305f\u3068\u8a9e\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001v2\u3067JavaScript\u3092\u63a1\u7528\u3059\u308b\u53ef\u80fd\u6027\u306f\u9ad8\u3044\u3082\u306e\u306e\u3001\u73fe\u6642\u70b9\u3067\u306f\u65b9\u5411\u6027\u306f\u6c7a\u307e\u3063\u3066\u304a\u3089\u305a\u3001\u4ee5\u4e0b\u306e3\u3064\u306e\u9078\u629e\u80a2\u304c\u5b58\u5728\u3059\u308b\u3068\u306e\u3053\u3068\u3002<\/p>\n<ul>\n<li>v1 \u3092\u3053\u306e\u307e\u307e\u7d9a\u3051\u308b<\/li>\n<li>v1 \u3092\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30e2\u30fc\u30c9\u306b\u3057\u3064\u3064\u3001v2 \u3092\u672c\u683c\u958b\u767a\u3059\u308b<\/li>\n<li>v1 \u3092\u5ec3\u6b62\u3057\u3001v2 \u3078\u79fb\u884c\u3092\u4fc3\u3059<\/li>\n<\/ul>\n<p>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u610f\u898b\u3092\u52df\u308a\u306a\u304c\u3089\u3001\u4eca\u5f8c\u306e\u65b9\u91dd\u3092\u6c7a\u3081\u3066\u3044\u304f\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081\uff1aHammerspoon \u306f\u5927\u304d\u306a\u8ee2\u63db\u70b9\u306b\u7acb\u3063\u3066\u3044\u308b<\/h2>\n<p>\u4eca\u56de\u306e 1.1.0 \u30ea\u30ea\u30fc\u30b9\u306f\u3001\u5358\u306a\u308b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u306f\u306a\u304f\u3001Hammerspoon \u306e\u6b21\u306e10\u5e74\u3092\u3069\u3046\u3059\u308b\u304b\u3068\u3044\u3046\u91cd\u8981\u306a\u554f\u3044\u304b\u3051\u3082\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002Objective\u2011C\u306e\u9650\u754c\u3084\u3001LuaSkin\u306e\u5de8\u5927\u3055\u3001\u30b3\u30f3\u30c8\u30ea\u30d3\u30e5\u30fc\u30bf\u30fc\u4e0d\u8db3\u3068\u3044\u3063\u305f\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306e\u3001Hammerspoon v2(Swift + JS)\u306f\u73fe\u5b9f\u7684\u306a\u8a08\u753b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/uploads\/software\/7048\/s_icon.png\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>Hammerspoon<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"http:\/\/www.hammerspoon.org\/\">http:\/\/www.hammerspoon.org\/<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/7048-hammerspoon\">https:\/\/softantenna.com\/softwares\/7048-hammerspoon<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>Lua\u30b9\u30af\u30ea\u30d7\u30c8\u7d4c\u7531\u3067OS X\u306e\u5404\u7a2e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u51fa\u6765\u308b\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>macOS\u5411\u3051\u306e\u81ea\u52d5\u5316\u30c4\u30fc\u30ebHammerspoon 1.1.0\u304c12\u670824\u65e5\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u30022024\u5e74\u590f\u306e1.0.0\u30ea\u30ea\u30fc\u30b9\u5f8c1\u5e74\u307b\u3069\u9759\u304b\u306a\u6642\u671f\u304c\u7d9a\u3044\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u306f\u3001\u65e5\u5e38\u7684\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc\u306b\u5b09\u3057 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":132222,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[3480],"class_list":["post-132221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-macos"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=132221"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/132221\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/132222"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=132221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=132221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=132221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}