{
  "attachments": [],
  "comments_archived": true,
  "date": "2003-01-16T22:22:29.000Z",
  "layout": "post",
  "title": "Folder Actions + AppleScript = Desktop Blogging.  Literally.",
  "wordpress_id": 353,
  "wordpress_slug": "ooochc",
  "wordpress_url": "http://www.decafbad.com/blog/?p=353",
  "year": "2003",
  "month": "01",
  "day": "16",
  "isDir": false,
  "slug": "ooochc",
  "type": "entry",
  "postName": "2003-01-16-ooochc",
  "html": "<p><a href=\"http://interconnected.org/notes/2003/01/Lazy_MacOSX_Weblogging_1.shtml\" target=\"_top\">Lazy Mac OS X: Weblog links sidebar</a>: <i>...it's going to be about turning your Mac into a weblogging machine. As easy as the links-and-commentary genre is with all the blogging apps out there, I'm too lazy for the commentary bit, and so I tend to drag-and-drop links to my desktop for later posting -- and then promptly forget about them. Consequently my desktop is a mess, and my blog is stagnating. Bad.</i></p>\n<p>So... what he made, with <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a>'s Folder Actions, is a magic folder on his desktop.  When links are dropped into the folder, a script is triggered which posts the link to a weblog via <a href=\"http://www.decafbad.com/twiki/bin/view/Main/BloggerAPI\">BloggerAPI</a>.  I've tweaked it a bit to ask me for a link title, quote, and a tiny bit of commentary, but it still needs a bit more work.</p>\n<p>I had never heard of Folder Actions before this.  This is very nifty stuff - blogging woven into the OS X desktop itself with <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a>.  Whew.</p>\n<p>What I'd <strong>really</strong> love is to be able to drop a folder onto my dock, and then drop things onto it there.  I'm thinking of a bunch of \"bins\" on the dock that shuttle files off to different destinations and through various transformations, right there, always in view.</p>\n<!--more-->\n\n\n<p>shortname=ooochc</p>\n<div id=\"comments\" class=\"comments archived-comments\"><h3>Archived Comments</h3>\n<ul class=\"comments\">\n<li class=\"comment\" id=\"comment-221082645\">\n<div class=\"meta\">\n<div class=\"author\">\n<a class=\"avatar image\" rel=\"nofollow\" href=\"http://disco.ucsd.edu/blog\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=3c561e62d8fc9a93d5409bea44cf1231&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\" width=\"\" height=\"\"></a>\n<a class=\"avatar name\" rel=\"nofollow\" href=\"http://disco.ucsd.edu/blog\">Michael McCracken</a>\n</div>\n\n\n<p><a href=\"#comment-221082645\" class=\"permalink\"><time datetime=\"2003-01-16T18:28:12\">2003-01-16T18:28:12</time></a></p>\n</div>\n\n\n<div class=\"content\">Your dock idea works fine - try it. Drag a folder with a folder action attached to it onto the part of the Dock next to the trash. It'll stick there and when you drag things into it, it does just what you want.\nOf course, you can also just make applescripts that deal with dropped files (droplets, i think they're called) and toss them into your dock too.</div>\n\n\n</li>\n<li class=\"comment\" id=\"comment-221082646\">\n<div class=\"meta\">\n<div class=\"author\">\n<a class=\"avatar image\" rel=\"nofollow\" href=\"http://www.decafbad.com\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=2ac2cffd36ada8c734b90e02a1e5c1ac&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\" width=\"\" height=\"\"></a>\n<a class=\"avatar name\" rel=\"nofollow\" href=\"http://www.decafbad.com\">l.m.orchard</a>\n</div>\n\n\n<p><a href=\"#comment-221082646\" class=\"permalink\"><time datetime=\"2003-01-16T19:21:05\">2003-01-16T19:21:05</time></a></p>\n</div>\n\n\n<div class=\"content\">Hmm.  Files from the desktop appear to work fine, but if I drag a link straight from a page in Safari or Chimera, the folder just dodges &amp; weaves on the dock and never allows me to dunk it in.</div>\n\n\n</li>\n<li class=\"comment\" id=\"comment-221082647\">\n<div class=\"meta\">\n<div class=\"author\">\n<a class=\"avatar image\" rel=\"nofollow\" href=\"http://eric.weblogs.com/\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=816a0f3a912fecf45efee0c8124581e4&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\" width=\"\" height=\"\"></a>\n<a class=\"avatar name\" rel=\"nofollow\" href=\"http://eric.weblogs.com/\">Eric Hancock</a>\n</div>\n\n\n<p><a href=\"#comment-221082647\" class=\"permalink\"><time datetime=\"2003-01-16T21:21:33\">2003-01-16T21:21:33</time></a></p>\n</div>\n\n\n<div class=\"content\">Hey -- really good idea.</div>\n\n\n</li>\n<li class=\"comment\" id=\"comment-221082649\">\n<div class=\"meta\">\n<div class=\"author\">\n<a class=\"avatar image\" rel=\"nofollow\" href=\"http://webseitz.fluxent.com/wiki\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=5a70d939a73fa73603f2a9255ab81d21&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\" width=\"\" height=\"\"></a>\n<a class=\"avatar name\" rel=\"nofollow\" href=\"http://webseitz.fluxent.com/wiki\">BillSeitz</a>\n</div>\n\n\n<p><a href=\"#comment-221082649\" class=\"permalink\"><time datetime=\"2003-01-16T21:58:37\">2003-01-16T21:58:37</time></a></p>\n</div>\n\n\n<div class=\"content\">Spring Desktop might be promising here...</div>\n\n\n</li>\n</ul>\n\n\n</div>\n\n\n",
  "body": "<a href=\"http://interconnected.org/notes/2003/01/Lazy_MacOSX_Weblogging_1.shtml\" target=\"_top\">Lazy Mac OS X: Weblog links sidebar</a>: <i>...it's going to be about turning your Mac into a weblogging machine. As easy as the links-and-commentary genre is with all the blogging apps out there, I'm too lazy for the commentary bit, and so I tend to drag-and-drop links to my desktop for later posting -- and then promptly forget about them. Consequently my desktop is a mess, and my blog is stagnating. Bad.</i>\r\n<br /><br />\r\nSo... what he made, with <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a>'s Folder Actions, is a magic folder on his desktop.  When links are dropped into the folder, a script is triggered which posts the link to a weblog via <a href=\"http://www.decafbad.com/twiki/bin/view/Main/BloggerAPI\">BloggerAPI</a>.  I've tweaked it a bit to ask me for a link title, quote, and a tiny bit of commentary, but it still needs a bit more work.\r\n<br /><br />\r\nI had never heard of Folder Actions before this.  This is very nifty stuff - blogging woven into the OS X desktop itself with <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a>.  Whew.\r\n<br /><br />\r\nWhat I'd <strong>really</strong> love is to be able to drop a folder onto my dock, and then drop things onto it there.  I'm thinking of a bunch of \"bins\" on the dock that shuttle files off to different destinations and through various transformations, right there, always in view.\r\n<!--more-->\r\nshortname=ooochc\r\n\r\n<div id=\"comments\" class=\"comments archived-comments\">\r\n            <h3>Archived Comments</h3>\r\n            \r\n        <ul class=\"comments\">\r\n            \r\n        <li class=\"comment\" id=\"comment-221082645\">\r\n            <div class=\"meta\">\r\n                <div class=\"author\">\r\n                    <a class=\"avatar image\" rel=\"nofollow\" \r\n                       href=\"http://disco.ucsd.edu/blog\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=3c561e62d8fc9a93d5409bea44cf1231&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\"/></a>\r\n                    <a class=\"avatar name\" rel=\"nofollow\" \r\n                       href=\"http://disco.ucsd.edu/blog\">Michael McCracken</a>\r\n                </div>\r\n                <a href=\"#comment-221082645\" class=\"permalink\"><time datetime=\"2003-01-16T18:28:12\">2003-01-16T18:28:12</time></a>\r\n            </div>\r\n            <div class=\"content\">Your dock idea works fine - try it. Drag a folder with a folder action attached to it onto the part of the Dock next to the trash. It'll stick there and when you drag things into it, it does just what you want.\r\n\r\nOf course, you can also just make applescripts that deal with dropped files (droplets, i think they're called) and toss them into your dock too.</div>\r\n            \r\n        </li>\r\n    \r\n        <li class=\"comment\" id=\"comment-221082646\">\r\n            <div class=\"meta\">\r\n                <div class=\"author\">\r\n                    <a class=\"avatar image\" rel=\"nofollow\" \r\n                       href=\"http://www.decafbad.com\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=2ac2cffd36ada8c734b90e02a1e5c1ac&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\"/></a>\r\n                    <a class=\"avatar name\" rel=\"nofollow\" \r\n                       href=\"http://www.decafbad.com\">l.m.orchard</a>\r\n                </div>\r\n                <a href=\"#comment-221082646\" class=\"permalink\"><time datetime=\"2003-01-16T19:21:05\">2003-01-16T19:21:05</time></a>\r\n            </div>\r\n            <div class=\"content\">Hmm.  Files from the desktop appear to work fine, but if I drag a link straight from a page in Safari or Chimera, the folder just dodges & weaves on the dock and never allows me to dunk it in.</div>\r\n            \r\n        </li>\r\n    \r\n        <li class=\"comment\" id=\"comment-221082647\">\r\n            <div class=\"meta\">\r\n                <div class=\"author\">\r\n                    <a class=\"avatar image\" rel=\"nofollow\" \r\n                       href=\"http://eric.weblogs.com/\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=816a0f3a912fecf45efee0c8124581e4&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\"/></a>\r\n                    <a class=\"avatar name\" rel=\"nofollow\" \r\n                       href=\"http://eric.weblogs.com/\">Eric Hancock</a>\r\n                </div>\r\n                <a href=\"#comment-221082647\" class=\"permalink\"><time datetime=\"2003-01-16T21:21:33\">2003-01-16T21:21:33</time></a>\r\n            </div>\r\n            <div class=\"content\">Hey -- really good idea.</div>\r\n            \r\n        </li>\r\n    \r\n        <li class=\"comment\" id=\"comment-221082649\">\r\n            <div class=\"meta\">\r\n                <div class=\"author\">\r\n                    <a class=\"avatar image\" rel=\"nofollow\" \r\n                       href=\"http://webseitz.fluxent.com/wiki\"><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=5a70d939a73fa73603f2a9255ab81d21&amp;size=32&amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png\"/></a>\r\n                    <a class=\"avatar name\" rel=\"nofollow\" \r\n                       href=\"http://webseitz.fluxent.com/wiki\">BillSeitz</a>\r\n                </div>\r\n                <a href=\"#comment-221082649\" class=\"permalink\"><time datetime=\"2003-01-16T21:58:37\">2003-01-16T21:58:37</time></a>\r\n            </div>\r\n            <div class=\"content\">Spring Desktop might be promising here...</div>\r\n            \r\n        </li>\r\n    \r\n        </ul>\r\n    \r\n        </div>\r\n    ",
  "parentPath": "./content/posts/archives/2003",
  "path": "2003/01/16/ooochc",
  "summary": "Lazy Mac OS X: Weblog links sidebar: ...it's going to be about turning your Mac into a weblogging machine. As easy as the links-and-commentary genre is with all the blogging apps out there, I'm too lazy for the commentary bit, and so I tend to drag-and-drop links to my desktop for later posting -- and then promptly forget about them. Consequently my desktop is a mess, and my blog is stagnating. Bad.\nSo... what he made, with AppleScript's Folder Actions, is a magic folder on his desktop.  When links are dropped into the folder, a script is triggered which posts the link to a weblog via BloggerAPI.  I've tweaked it a bit to ask me for a link title, quote, and a tiny bit of commentary, but it still needs a bit more work.\nI had never heard of Folder Actions before this.  This is very nifty stuff - blogging woven into the OS X desktop itself with AppleScript.  Whew.\nWhat I'd really love is to be able to drop a folder onto my dock, and then drop things onto it there.  I'm thinking of a bunch of \"bins\" on the dock that shuttle files off to different destinations and through various transformations, right there, always in view.",
  "needsBuild": true,
  "prevPostPath": "2003/01/16/ooochb",
  "prevPostTitle": "OmniGraffle + AppleScript = RSS news reader",
  "nextPostPath": "2003/01/18/ooochd",
  "nextPostTitle": "Kung-Log back with a Cocoanized Vengance"
}