{"id":116,"date":"2006-09-06T19:26:28","date_gmt":"2006-09-07T02:26:28","guid":{"rendered":"http:\/\/podfeet.com\/wordpress\/?page_id=116"},"modified":"2017-07-31T14:57:14","modified_gmt":"2017-07-31T21:57:14","slug":"automator-shortcut-tutorial","status":"publish","type":"page","link":"https:\/\/www.podfeet.com\/blog\/tutorials-5\/automator-shortcut-tutorial\/","title":{"rendered":"Automator &#038; Shortcut Tutorial"},"content":{"rendered":"\n<p><font face=\"Verdana, Arial, Helvetica, sans-serif\"><strong><font size=\"3\">Creating keyboard shortcuts for Automator Actions<br \/>\n\t\t\t\t\t<\/font><font size=\"2\">by James Kocsis<\/font><\/strong><\/font><\/p>\n<p><font face=\"Verdana, Arial, Helvetica, sans-serif\"><\/font><font size=\"2\">Ever want to create a keyboard shortcut for tasks you do multiple times a day? Here is a really simple way to do it.<br \/>\n\t\t\t\t<\/font><strong><font size=\"3\"><br \/>\n\t\t\t\t\t<\/font><\/strong><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\">I use a combination of <a href=\"http:\/\/www.apple.com\/macosx\/features\/automator\/\">Automator<\/a> and a utility called &quot;Shortcuts&quot; from: <a href=\"http:\/\/www.abracode.com\/free\/cmworkshop\/\">http:\/\/www.abracode.com\/free\/cmworkshop\/<\/a>. <\/font><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\">Shortcuts allows you to create keyboard shortcuts for contextual menu items in the Finder. And with Automator, you can add actions to that contextual menu.<\/p>\n<p>\t\t\t<\/font><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\">In this example, we&#8217;ll create a keyboard shortcut that will attach a selected file to a new Mail message. This will eliminate the need to drag the file onto the Mail icon in the Dock or (god forbid) attach the document via a dialog box. Other uses can be: Quick upload of a file using Transmit, opening selected files in specific applications (instead of having to right-click and wait for a list of apps to show up), or testing web pages in multiple browsers (instead of opening the file in each browser manually).<\/p>\n<p>\t\t\t\tI use this with TONS of workflows. It makes life bearable. In fact, between this and Quicksilver, I was able to COMPLETELY clear off my Dock (except for the Trash &amp; Finder). Another reason to love the Mac.<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\">Don&#8217;t worry, this shouldn&#8217;t be too advanced&#8230;<\/font><\/p>\n<p><!--more--><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><strong>Step 1: Create an Automator Action to attach the selected file to a new Mail message.<\/strong><\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Launch Automator.<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Under the &quot;Library&quot; column, click on &quot;Finder&quot; (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/automator1.jpg\">Pic 1<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Under the &quot;Action&quot; column, drag &quot;Open Finder Items&quot; over to the workflow pane on the right(<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/automator1.jpg\">Pic 1<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Select &quot;Mail&quot; from the dropdown menu (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/automator2.jpg\">Pic 2<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> From the &quot;File&quot; menu, choose &quot;Save As Plug-In&#8230;&quot; (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/automator3.jpg\">Pic 3<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Give it a name like &quot;Attach File to Mail Message&quot; and leave the &quot;Plug-In for&quot; menu set to &quot;Finder&quot; (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/automator4.jpg\">Pic 4<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Quit Automator<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><br \/>\n\t\t\t\t<strong>Step 2: Create a keyboard shortcut for the action you just created.<\/strong><\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Launch Shortcuts.<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Click the &quot;Setup&quot; Tab and click the three buttons labeled &quot;Start&quot;, &quot;Add&quot;, and &quot;Install&#038;quot.  This will Start the ShortcutObserver so your shortcut will work in this session, Add the ShortcutObserver to your login startup items so your shortcut will work every time you login, and Install the CocoaTextSelectionHelper which assists in text selection (<strong><a href=\"https:\/\/www.podfeet.com\/NosillaCast\/NC_2006_08_27\/shortcut_setup_tab.jpg\">Pic 5a<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Click the &quot;Assign Hot Keys&quot; Tab (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/Shortcuts1.jpg\">Pic 5b<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Under the &quot;File&quot; section, select the action you just created from the pulldown menu (it will be in the Automator fly-out menu) (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/Shortcuts2.jpg\">Pic 6<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> A sheet will drop down asking you to type in the keyboard shortcut you&#8217;d like to use. Type in the key combo. Make sure it doesn&#8217;t conflict with any other key combos in the Finder (<strong><a href=\"http:\/\/www.jameskocsis.com\/keyshort\/Shortcuts3.jpg\">Pic 7<\/a><\/strong>).<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Click &quot;Assign&quot;<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Quit Shortcuts<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><br \/>\n\t\t\t\t<strong>Step 3: Test it.<\/strong><\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Go to the finder, highlight a file, hit the keyboard shortcut you created.<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Watch as Mail launches and attaches your file to a new message.<\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"> Pat yourself on the back. You now rock as hard as me. Congratulations.<\/font><\/p>\n<\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><strong>Good Luck!<\/strong><\/font><\/p>\n<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\">If you have any problems, email me at: <a href=\"mailto:james@jameskocsis.com\">james@jameskocsis.com<\/a><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating keyboard shortcuts for Automator Actions by James Kocsis Ever want to create a keyboard shortcut for tasks you do multiple times a day? Here is a really simple way to do it. I use a combination of Automator and a utility called &quot;Shortcuts&quot; from: http:\/\/www.abracode.com\/free\/cmworkshop\/. Shortcuts allows you to create keyboard shortcuts for contextual [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":4374,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[],"tags":[150,9],"class_list":["post-116","page","type-page","status-publish","hentry","tag-mac-tutorials","tag-tutorials","post"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/pages\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":2,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/pages\/116\/revisions"}],"predecessor-version":[{"id":12376,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/pages\/116\/revisions\/12376"}],"up":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/pages\/4374"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}