{
  "attachments": [],
  "comments_archived": true,
  "date": "2003-01-24T03:40:23.000Z",
  "layout": "post",
  "title": "AppleScript and application services in the closet",
  "wordpress_id": 366,
  "wordpress_slug": "ooocig",
  "wordpress_url": "http://www.decafbad.com/blog/?p=366",
  "year": "2003",
  "month": "01",
  "day": "23",
  "isDir": false,
  "slug": "ooocig",
  "type": "entry",
  "postName": "2003-01-23-ooocig",
  "html": "<blockquote cite=\"http://www.macosxhints.com/article.php?story=20030121064254140\">Apple's Script Editor 2.0 for OS 10.2.3 has support for Application Services . Basically, you can hilight some valid <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a> text in any supporting application (like Safari, for instance) and \n<ol>\n<li> execute the script [or] \n</li>\n<li> get the result of the script [or] \n</li>\n<li> put the text into Script Editor. \n</li>\n</ol>\n</blockquote>\n\n<div class=\"credit\" align=\"right\"><small>Source:<cite><a href=\"http://www.macosxhints.com/article.php?story=20030121064254140\">Mac OS X Hints: Run AppleScripts via system services</a></cite>.</small>\n\n</div>\n\n\n<p>Neat!  Now...  can we do something about making access to those services a bit more prominent?  System-wide functions buried in a menu obscurely labeled \"Services\" under an app-specific menu label doesn't seem very inviting or intuitive.  <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a> gets insanely better treatment than this.  I'd like to see these services pushed just as far forward, and more easily discoverable.  It's been awhile since I played in Cocoa, but for awhile I was wondering if rearrange things a bit, maybe pull the service items for the currently active app into a menu extra or something.  Or, at least pull the menu up a level, maybe stick it next to the \"Script\" where appropriate.  And, I'd love to be able to customize the keyboard shortcuts assigned to them - some have shortcuts and I'll rarely use them, while others have no shortcut and I wish I could use them all the time.</p>\n<p>It's good stuff, Apple, show it off.</p>\n\n\n<!--more-->\n\n\n<p>shortname=ooocig</p>\n<div id=\"comments\" class=\"comments archived-comments\"><h3>Archived Comments</h3>\n<ul class=\"comments\">\n<li class=\"comment\" id=\"comment-221086619\">\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-221086619\" class=\"permalink\"><time datetime=\"2003-01-23T23:53:14\">2003-01-23T23:53:14</time></a></p>\n</div>\n\n\n<div class=\"content\">Hey, if you want to do a cocoa project to make services more visible, you might want to take a look at one of my old projects - I called it Self Service. http://disco.ucsd.edu/blog/computers/apps/SelfService \nThe idea was to make Services into floating windows that you could drag and drop to. It works fine, but I keep forgetting to use it. (And Safari doesn't have a service)\nIf you want the code, just ask.</div>\n\n\n</li>\n</ul>\n\n\n</div>\n\n\n",
  "body": "<blockquote cite=\"http://www.macosxhints.com/article.php?story=20030121064254140\">Apple's Script Editor 2.0 for OS 10.2.3 has support for Application Services . Basically, you can hilight some valid <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a> text in any supporting application (like Safari, for instance) and \r\n<ol>\r\n<li> execute the script [or] \r\n</li>\r\n<li> get the result of the script [or] \r\n</li>\r\n<li> put the text into Script Editor. \r\n</li>\r\n</ol>\r\n</blockquote><div class=\"credit\" align=\"right\"><small>Source:<cite><a href=\"http://www.macosxhints.com/article.php?story=20030121064254140\">Mac OS X Hints: Run AppleScripts via system services</a></cite>.</small></div>\r\n<p>Neat!  Now...  can we do something about making access to those services a bit more prominent?  System-wide functions buried in a menu obscurely labeled \"Services\" under an app-specific menu label doesn't seem very inviting or intuitive.  <a href=\"http://www.decafbad.com/twiki/bin/view/Main/AppleScript\">AppleScript</a> gets insanely better treatment than this.  I'd like to see these services pushed just as far forward, and more easily discoverable.  It's been awhile since I played in Cocoa, but for awhile I was wondering if rearrange things a bit, maybe pull the service items for the currently active app into a menu extra or something.  Or, at least pull the menu up a level, maybe stick it next to the \"Script\" where appropriate.  And, I'd love to be able to customize the keyboard shortcuts assigned to them - some have shortcuts and I'll rarely use them, while others have no shortcut and I wish I could use them all the time.</p>\r\n<p>It's good stuff, Apple, show it off.</p>\r\n<!--more-->\r\nshortname=ooocig\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-221086619\">\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-221086619\" class=\"permalink\"><time datetime=\"2003-01-23T23:53:14\">2003-01-23T23:53:14</time></a>\r\n            </div>\r\n            <div class=\"content\">Hey, if you want to do a cocoa project to make services more visible, you might want to take a look at one of my old projects - I called it Self Service. http://disco.ucsd.edu/blog/computers/apps/SelfService \r\n\r\nThe idea was to make Services into floating windows that you could drag and drop to. It works fine, but I keep forgetting to use it. (And Safari doesn't have a service)\r\n\r\nIf you want the code, just ask.</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/23/ooocig",
  "summary": "Apple's Script Editor 2.0 for OS 10.2.3 has support for Application Services . Basically, you can hilight some valid AppleScript text in any supporting application (like Safari, for instance) and \n\n execute the script [or] \n\n get the result of the script [or] \n\n put the text into Script Editor. \n\n\n\n\nSource:Mac OS X Hints: Run AppleScripts via system services.\n\n\n\n\nNeat!  Now...  can we do something about making access to those services a bit more prominent?  System-wide functions buried in a menu obscurely labeled \"Services\" under an app-specific menu label doesn't seem very inviting or intuitive.  AppleScript gets insanely better treatment than this.  I'd like to see these services pushed just as far forward, and more easily discoverable.  It's been awhile since I played in Cocoa, but for awhile I was wondering if rearrange things a bit, maybe pull the service items for the currently active app into a menu extra or something.  Or, at least pull the menu up a level, maybe stick it next to the \"Script\" where appropriate.  And, I'd love to be able to customize the keyboard shortcuts assigned to them - some have shortcuts and I'll rarely use them, while others have no shortcut and I wish I could use them all the time.\nIt's good stuff, Apple, show it off.",
  "needsBuild": true,
  "prevPostPath": "2003/01/23/ooocif",
  "prevPostTitle": "Vellum and coffee rings",
  "nextPostPath": "2003/01/24/ooocih",
  "nextPostTitle": "BeanShell rocks - and, oh yeah, a personal proxy in Java"
}