{"id":26415,"date":"2015-01-05T22:02:13","date_gmt":"2015-01-05T13:02:13","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=26415"},"modified":"2015-01-05T22:02:13","modified_gmt":"2015-01-05T13:02:13","slug":"hammerspoon","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/hammerspoon\/","title":{"rendered":"Hammerspoon - Lua\u8a00\u8a9e\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308bOS X\u7528\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u81ea\u52d5\u5316\u30a2\u30d7\u30ea"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/01\/Ihammerspoon.jpg\" alt=\"Hammerspoon\" title=\"hammerspoon.jpg\" border=\"0\" width=\"546\" height=\"341\" \/><\/p>\n<p>\u300c<a href=\"http:\/\/www.hammerspoon.org\/\">Hammerspoon<\/a>\u300d\u306f<a href=\"http:\/\/www.lua.org\/docs.html\">Lua\u8a00\u8a9e<\/a>\u3092\u4f7f\u3063\u3066OS X\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u64cd\u4f5c\u3092\u81ea\u52d5\u5316\u3067\u304d\u308b\u30a2\u30d7\u30ea\u3002\u4eca\u306e\u3068\u3053\u308d\u4e3b\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u64cd\u4f5c\u306e\u81ea\u52d5\u5316\u306e\u305f\u3081\u306b\u4f5c\u3089\u308c\u3066\u3044\u3066\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u6700\u5927\u5316\u3084\u79fb\u52d5\u3068\u3044\u3063\u305f\u3001\u901a\u5e38\u306f\u30de\u30a6\u30b9\u3092\u4f7f\u3063\u3066\u884c\u308f\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u64cd\u4f5c\u304c\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u304b\u3089\u5b9f\u884c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.irradiatedsoftware.com\/sizeup\/\">SizeUp<\/a>\u3084<a href=\"https:\/\/github.com\/jigish\/slate\">Slate<\/a>\u3068\u3044\u3063\u305f\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3068\u547c\u3070\u308c\u308b\u30a2\u30d7\u30ea\u3092\u60f3\u50cf\u3059\u308b\u3068\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u5b9f\u306f\u3001<a href=\"https:\/\/github.com\/sdegutis\/mjolnir\">Mjolnir<\/a>\u3068\u547c\u3070\u308c\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089fork\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3001Mjolnir\u304c\u3001\u5b9f\u7528\u7684\u306b\u4f7f\u3046\u305f\u3081\u306b\u306fLua\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u3063\u3066\u69d8\u3005\u306a\u62e1\u5f35\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u306b\u5bfe\u3057\u3001Hammerspoon\u306f\u30a2\u30d7\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3060\u3051\u3067\u3059\u3050\u306b\u4f7f\u3048\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u3066\u958b\u767a\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h3>\n<p>\u307e\u305a\u300cHammerspoon.app\u300d\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/01\/I-2015-01-05-20.19.42.png\" alt=\"2015 01 05 20 19 42\" title=\" 2015-01-05 20.19.42.png\" border=\"0\" width=\"546\" height=\"443\" \/><\/p>\n<p>\u8d77\u52d5\u3059\u308b\u3068\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3067\u8a31\u53ef\u3092\u4e0e\u3048\u308b\u3088\u3046\u306b\u6307\u793a\u3055\u308c\u308b\u306e\u3067\u3001\"Hammerspoon.app\"\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/01\/I-2015-01-05-20.22.53.png\" alt=\"2015 01 05 20 22 53\" title=\" 2015-01-05 20.22.53.png\" border=\"0\" width=\"546\" height=\"287\" \/><\/p>\n<p>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066Preferences\u3092\u8868\u793a\u3057\u3001Accessibility\u304c\u7dd1\u306b\u306a\u308c\u3070\u6e96\u5099\u5b8c\u4e86\u3067\u3059\u3002\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u4ed6\u306b\u3082\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3084\u8aad\u307f\u8fbc\u307f\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/01\/Iinit.lua_.png\" alt=\"Init lua\" title=\"init.lua.png\" border=\"0\" width=\"546\" height=\"262\" \/><\/p>\n<p>\u6b21\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u300c~\/.hammerspoon\/init.lua\u300d\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u308f\u3056\u308f\u3056\u30d1\u30b9\u3092\u6253\u3061\u8fbc\u307e\u306a\u304f\u3066\u3082\u3001\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u300cOpen Config\u300d\u3092\u5b9f\u884c\u3059\u308c\u3070\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.hammerspoon.org\/go\/\">Getting Started<\/a>\u3092\u8aad\u307f\u306a\u304c\u3089\u5c11\u3057\u305a\u3064\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u3044\u3063\u3066\u3082\u3044\u3044\u3067\u3059\u3057\u3001<a href=\"https:\/\/github.com\/Hammerspoon\/hammerspoon\/wiki\/Sample-Configurations\">Sample Configurations<\/a>\u304b\u3089\u4f7f\u3048\u305d\u3046\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u516c\u5f0f\u30b5\u30a4\u30c8\u306e\u4ed6\u306b\u3082GitHub\u3067init.lua\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u4eba\u304c\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3082\u53c2\u8003\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u305f\u3042\u3068\u3001\u30e1\u30cb\u30e5\u30fc\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u300cReload Config\u300d\u3092\u5b9f\u884c\u3059\u308c\u3070\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<a href=\"https:\/\/github.com\/Hammerspoon\/hammerspoon\/wiki\/ztomer%27s-init.lua\">ztomer's init.lua<\/a>\u3092\u30b3\u30d4\u30fc\u3057\u3066\u4f7f\u3063\u305f\u5834\u5408\u3001Ctrl-Alt-Shift-H\/L\/K\/J\u3067\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u79fb\u52d5\u3057\u305f\u308a\u3001Ctrl-Alt-H\/J\/K\/L\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u79fb\u52d5\u3057\u305f\u308a\u3001Ctrl-Alt-Y\/U\/I\/O\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u305f\u308a\u2026\u3068\u3044\u3063\u305f\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>Lua\u306e\u6587\u6cd5\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u66f8\u304d\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u3067\u304d\u305f\u3070\u304b\u308a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306a\u306e\u3067\u4eca\u5f8c\u3069\u306e\u3088\u3046\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u767a\u5c55\u3057\u3066\u3044\u304f\u306e\u304b\u6b63\u76f4\u672a\u77e5\u6570\u3067\u3059\u304c\u3001\u66f4\u65b0\u304c\u9014\u7d76\u3048\u3066\u4e45\u3057\u3044<a href=\"https:\/\/github.com\/jigish\/slate\">Slate<\/a>\u306e\u4ee3\u308f\u308a\u3068\u306a\u308b\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30a6\u30a3\u30f3\u30c9\u30a6\u30de\u30cd\u30fc\u30b8\u30e3\u30a2\u30d7\u30ea\u3068\u3057\u3066\u4eca\u5f8c\u30d6\u30ec\u30a4\u30af\u3059\u308b\u53ef\u80fd\u6027\u306f\u3042\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300cHammerspoon\u300d\u306fLua\u8a00\u8a9e\u3092\u4f7f\u3063\u3066OS X\u306e\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u64cd\u4f5c\u3092\u81ea\u52d5\u5316\u3067\u304d\u308b\u30a2\u30d7\u30ea\u3002\u4eca\u306e\u3068\u3053\u308d\u4e3b\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u64cd\u4f5c\u306e\u81ea\u52d5\u5316\u306e\u305f\u3081\u306b\u4f5c\u3089\u308c\u3066\u3044\u3066\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u6700\u5927\u5316\u3084\u79fb\u52d5\u3068\u3044\u3063\u305f\u3001\u901a\u5e38\u306f\u30de\u30a6\u30b9\u3092\u4f7f\u3063\u3066\u884c\u308f\u306a\u3044\u3068\u3044\u3051 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":26411,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4,75],"tags":[2895],"class_list":["post-26415","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac","category-software","tag-lua"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/26415","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=26415"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/26415\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/26411"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=26415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=26415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=26415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}