{"id":1500,"date":"2011-04-06T21:43:39","date_gmt":"2011-04-06T12:43:39","guid":{"rendered":"\/\/do-gugan.com\/~furuta\/index.php\/2011\/04\/06\/applescriptspac\/"},"modified":"2011-04-06T21:43:39","modified_gmt":"2011-04-06T12:43:39","slug":"applescriptspac","status":"publish","type":"post","link":"https:\/\/do-gugan.com\/~furuta\/archives\/2011\/04\/applescriptspac.html","title":{"rendered":"AppleScript\u3067Spaces\u3092ON\/OFF\u3059\u308b"},"content":{"rendered":"<p><a href=\"\/\/do-gugan.com\/~furuta\/archives\/2011\/04\/64bitmacusb.html\">MacBook Pro\u306eUSB\u7d4c\u7531\u30b5\u30d6\u30e2\u30cb\u30bf\u304c\u7a3c\u50cd\u3057\u305f<\/a>\u3053\u3068\u3067\u3001\u30c7\u30e5\u30a2\u30eb\u30e2\u30cb\u30bf\u74b0\u5883\u3067\u306eSpaces\u306e\u52d5\u4f5c\u3078\u306e\u4e0d\u6e80\u304c\u5674\u51fa\u3057\u307e\u3057\u305f\u3002\u5f53\u8a72\u8a18\u4e8b\u3067\u3082\u89e6\u308c\u307e\u3057\u305f\u304c\u3001Spaces\u4e0a\u3067\uff13\u753b\u9762\u4f5c\u6210\u3057\u3066\u308b\u3068\u3001\uff12\u30e2\u30cb\u30bf\uff58\uff13\u30bb\u30c3\u30c8\u3067\u5207\u308a\u66ff\u308f\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u30e1\u30a4\u30f3\u30e2\u30cb\u30bf\u3067\u30da\u30fc\u30b8\u79fb\u52d5\u3059\u308b\u3068\u30b5\u30d6\u30e2\u30cb\u30bf\u307e\u3067\u3081\u304f\u308c\u3066\u3057\u307e\u3044\u975e\u5e38\u306b\u4f7f\u3044\u3065\u3089\u3044\u3067\u3059\u3002\u30e1\u30a4\u30f3\u30e2\u30cb\u30bf\u3060\u3051\u5358\u4f53\u4f7f\u7528\u6642\u3068\u540c\u3058\u306bSpaces\u304c\u4f7f\u3048\u308b\u306e\u304c\u7406\u60f3\u3067\u3059\u304c\u3001\u305d\u308c\u304c\u7121\u7406\u306a\u3089\u3044\u3063\u305dSpaces\u81ea\u4f53\u3092\u30aa\u30d5\u306b\u3057\u3066\u3057\u307e\u3044\u305f\u3044\u3002<\/p>\n<p>\u305d\u3053\u3067\u30b5\u30d6\u30e2\u30cb\u30bf\u3092\u3064\u306a\u3044\u3060\u6642\u3001\u5916\u3057\u305f\u6642\u306b\u30b5\u30af\u3063\u3068Spaces\u3092\u30aa\u30f3\u30fb\u30aa\u30d5\u3059\u308bAppleScript\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\uff08\u3068\u3044\u3046\u304b\u30b0\u30b0\u3063\u3066\u62fe\u3063\u3066\u304d\u307e\u3057\u305f\uff09\u3002\u5177\u4f53\u7684\u306b\u306f<a href=\"http:\/\/www.ehmac.ca\/anything-mac\/57290-looking-quick-spaces-off-applescript-automator-widget.html\">\u3053\u306e\u63b2\u793a\u677f\u30b9\u30ec\u30c3\u30c9\u306e#9<\/a>\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p class=\"code\">tell application &quot;System Events&quot;    <br \/>&#160; tell expose preferences     <br \/>&#160;&#160;&#160; tell spaces preferences     <br \/>&#160;&#160;&#160;&#160;&#160; set spaces enabled to true     <br \/>&#160;&#160;&#160; end tell     <br \/>&#160; end tell     <br \/>end tell<\/p>\n<p>\u3053\u308c\u3067Spaces\u304c\u30aa\u30f3\u306b\u306a\u308a\u307e\u3059\u30024\u884c\u76ee\u306etrue\u3092false\u306b\u3059\u308b\u3068\u30aa\u30d5\u3067\u3059\u3002AppleScript\u30a8\u30c7\u30a3\u30bf\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u300c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u306b\u3057\u3066\u4fdd\u5b58\u3059\u308b\u3068\u3001\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u5b9f\u884c\u53ef\u80fd\u306a\u30a2\u30c3\u30d7\u30ec\u30c3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u3069\u3053\u304b\u30b5\u30af\u3063\u3068\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046Dock\u3084\u30e9\u30f3\u30c1\u30e3\u30fc\u306a\u3069\u306b\u767b\u9332\u3057\u3066\u304a\u3051\u3070OK\u3067\u3059\u3002<\/p>\n<p>\u03c3(^^)\u306f<a href=\"http:\/\/www.symonds.id.au\/marcopolo\/\">MarcoPolo<\/a>\u3068\u3044\u3046\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u74b0\u5883\u3084\u63a5\u7d9a\u3055\u308c\u305f\u5468\u8fba\u6a5f\u5668\u3067\u8a2d\u5b9a\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u5207\u308a\u66ff\u3048\u3059\u308b\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u3053\u3067\u81ea\u5b85\u30ef\u30fc\u30af\u30c7\u30b9\u30af\u74b0\u5883\u306e\u6642\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u7d44\u307f\u8fbc\u3093\u3067\u307f\u307e\u3057\u305f\u3002\u3061\u3083\u3093\u3068\u52d5\u4f5c\u3059\u308b\u304b\u3069\u3046\u304b\u306e\u30c6\u30b9\u30c8\u306f\u3053\u308c\u304b\u3089\u3067\u3059\u304c\u3001\u74b0\u5883\u8981\u56e0\uff08Evidence Sources\uff09\u306e\u30e2\u30cb\u30bf\u306e\u9805\u76ee\u3067USB-DVI\u30a2\u30c0\u30d7\u30bf\u7d4c\u7531\u3067\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u30e2\u30cb\u30bf\u306e\u578b\u756a\u3082\u898b\u3048\u3066\u305f\u306e\u3067\u3001\u305d\u308c\u3092\u30ad\u30fc\u306b\u3059\u308c\u3070\u307e\u305a\u5927\u4e08\u592b\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MacBook Pro\u306eUSB\u7d4c\u7531\u30b5\u30d6\u30e2\u30cb\u30bf\u304c\u7a3c\u50cd\u3057\u305f\u3053\u3068\u3067\u3001\u30c7\u30e5\u30a2\u30eb\u30e2\u30cb\u30bf\u74b0\u5883\u3067\u306eSpaces\u306e\u52d5\u4f5c\u3078\u306e\u4e0d\u6e80\u304c\u5674\u51fa\u3057\u307e\u3057\u305f\u3002\u5f53\u8a72\u8a18\u4e8b\u3067\u3082\u89e6\u308c\u307e\u3057\u305f\u304c\u3001Spaces\u4e0a\u3067\uff13\u753b\u9762\u4f5c\u6210\u3057\u3066\u308b\u3068\u3001\uff12\u30e2\u30cb\u30bf\uff58\uff13\u30bb\u30c3\u30c8\u3067\u5207\u308a\u66ff\u308f\u308b\u3088 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[148],"tags":[],"class_list":["post-1500","post","type-post","status-publish","format-standard","hentry","category-macbook_air_11"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/1500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/comments?post=1500"}],"version-history":[{"count":0,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/1500\/revisions"}],"wp:attachment":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/media?parent=1500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/categories?post=1500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/tags?post=1500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}