{"id":34331,"date":"2021-12-01T16:42:33","date_gmt":"2021-12-01T21:42:33","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=34331"},"modified":"2021-12-01T16:42:33","modified_gmt":"2021-12-01T21:42:33","slug":"batch-converting-shortcuts-to-scripts-and-applets","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/12\/01\/batch-converting-shortcuts-to-scripts-and-applets\/","title":{"rendered":"Batch Converting Shortcuts to Scripts and Applets"},"content":{"rendered":"<p><a href=\"https:\/\/www.macstories.net\/stories\/how-to-batch-convert-shortcuts-for-use-throughout-monterey-and-with-other-automation-apps\/\">John Voorhees<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.macstories.net\/stories\/how-to-batch-convert-shortcuts-for-use-throughout-monterey-and-with-other-automation-apps\/\"><p>To streamline the process, I turned, of course, to Shortcuts itself. In total, I&rsquo;ve created four shortcuts to help me deploy my favorite shortcuts across macOS:<\/p><ul><li><strong>Script Builder<\/strong>: Generates <code>.scpt<\/code> files that can be incorporated in other apps from multiple shortcuts using AppleScript<\/li><li><strong>Dock Applet Builder<\/strong>: Creates Dock applets from shortcuts that can be launched from the Finder, app launchers, and more<\/li><li><strong>Script Applet Builder<\/strong>: Converts shortcuts into AppleScript applets with custom icons that behave like Dock applets but don&rsquo;t get automatically deposited in your Dock<\/li><li><strong>PopClip Builder<\/strong>: Produces and streamlines installation of multiple PopClip extensions with custom icons that run shortcuts<\/li><\/ul><\/blockquote>\n<p>It&rsquo;s probably better to use <tt>.applescript<\/tt> for the file extension, since <tt>.scpt<\/tt> is for compiled scripts.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/06\/08\/shortcuts-for-mac\/\">Shortcuts for Mac<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>John Voorhees: To streamline the process, I turned, of course, to Shortcuts itself. In total, I&rsquo;ve created four shortcuts to help me deploy my favorite shortcuts across macOS:Script Builder: Generates .scpt files that can be incorporated in other apps from multiple shortcuts using AppleScriptDock Applet Builder: Creates Dock applets from shortcuts that can be launched [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-12-01T21:42:36Z","apple_news_api_id":"e167ede4-bb23-4eea-a4f6-577d4c37669a","apple_news_api_modified_at":"2021-12-01T21:42:37Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A4Wft5LsjTuqk9ld9TDdmmg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[159,30,2077,2144,1686],"class_list":["post-34331","post","type-post","status-publish","format-standard","hentry","category-technology","tag-applescript","tag-mac","tag-macos-12","tag-popclip","tag-shortcuts"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=34331"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34331\/revisions"}],"predecessor-version":[{"id":34332,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34331\/revisions\/34332"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=34331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=34331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=34331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}