{"id":349,"date":"2007-06-07T16:37:53","date_gmt":"2007-06-07T23:37:53","guid":{"rendered":"http:\/\/www.red-sweater.com\/blog\/349\/hit-and-run"},"modified":"2007-06-07T16:46:56","modified_gmt":"2007-06-07T23:46:56","slug":"hit-and-run","status":"publish","type":"post","link":"https:\/\/redsweater.com\/blog\/349\/hit-and-run","title":{"rendered":"Hit-And-Run"},"content":{"rendered":"<p>O&#8217;Reilly&#8217;s MacDevCenter has posted the most definitive article I&#8217;ve ever seen on attaching keyboard shortcuts to scripts:<\/p>\n<p>\n<a href=\"http:\/\/oreillynet.com\/pub\/a\/mac\/2007\/06\/08\/hit-and-run-launching-applescripts-with-keyboard-shortcuts.html?page=1\">Hit-and-Run: Launching AppleScripts With Keyboard Shortcuts<\/a>\n<\/p>\n<p>\n<a href=\"http:\/\/www.oreillynet.com\/pub\/au\/2663\">Jochen Wolters<\/a> explains the why and the how in brilliant detail. Of course, I&#8217;m also excited that his description of the how settles on <a href=\"http:\/\/www.red-sweater.com\/fastscripts\/\">FastScripts<\/a> and <a href=\"http:\/\/quicksilver.blacktree.com\/\">QuickSilver<\/a> as the best choices. I especially like this summary of FastScripts:\n<\/p>\n<blockquote><p>&#8220;If you want to use global keyboard shortcuts for launching your AppleScripts, FastScripts simply is the most Mac-like way to achieve this.&#8221;<\/p><\/blockquote>\n<p>\nI can live with that description!\n<\/p>\n<p>\nI noticed that Jochen dings FastScripts slightly for its alleged inability to run Automator workflows. It can in fact run workflows, it&#8217;s just a question of getting the workflow files into a folder where FastScripts will notice them. Since FastScripts 2.2.3 (finally!) added the ability to drag aliases to folders into your script folder hierarchy, you should be able to simply drag an alias of ~\/Library\/Workflows into your ~\/Library\/Scripts folder, and FastScripts will pick them up.\n<\/p>\n<p>\nFor the especially Terminal-gifted, there is a secret FastScripts defaults key that would also help here. The <a href=\"http:\/\/www.red-sweater.com\/RedSweater\/FSHelp.html#HideLibrary\">ScriptTreePathsKey<\/a> specifies the list of paths FastScripts should include in its search for scripts and other launchable items. If you add &#8220;FSSP%%%$HOME$\/Library\/Workflows&#8221; to the list, then you should be in business.\n<\/p>\n<p>\nIt occurs to me that I should include automatic support for listing the contents of ~\/Library\/Workflows in a future release of FastScripts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>O&#8217;Reilly&#8217;s MacDevCenter has posted the most definitive article I&#8217;ve ever seen on attaching keyboard shortcuts to scripts: Hit-and-Run: Launching AppleScripts With Keyboard Shortcuts Jochen Wolters explains the why and the how in brilliant detail. Of course, I&#8217;m also excited that his description of the how settles on FastScripts and QuickSilver as the best choices. I [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry","category-applescript","category-fastscripts"],"_links":{"self":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":0,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"wp:attachment":[{"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redsweater.com\/blog\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}