{"id":90,"date":"2002-11-23T17:32:52","date_gmt":"2002-11-23T22:32:52","guid":{"rendered":"\/?p=90"},"modified":"2016-07-28T09:50:52","modified_gmt":"2016-07-28T13:50:52","slug":"mdj_on_applescript_and_sp","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2002\/11\/23\/mdj_on_applescript_and_sp\/","title":{"rendered":"MDJ on AppleScript and SpamSieve"},"content":{"rendered":"<p><a href=\"http:\/\/www.macjournals.com\">MDJ 2002.11.22<\/a>&rsquo;s coverage of SpamSieve 1.2.2 makes some interesting points about how &ldquo;AppleScript is making componentized software possible, with only Apple missing out on the benefits&rdquo;:<\/p>\r\n\r\n\r\n\r\n<blockquote>\r\n\r\n<p>Developers are often surprised that a good AppleScript implementation turns out to be a better idea than a check-off item on a feature list. When done properly, AppleScript lets sufficiently technical users add their own features to programs. For example, iTunes will never include features like posting your current song to a Weblog, unchecking all songs in a given playlist, or renaming MP3 files by artist and track name, but you can do all those things right now by using AppleScripts (such as those from <a href=\"http:\/\/www.malcolmadams.com\/itunes\/\">Doug Adams&rsquo;s page<\/a>). Thousands of people around the world customize their mail clients with AppleScript, adding features that work for them but that no developer will implement for a mass market, including complex filtering and triggering other programs based on incoming mail content.<\/p>\r\n\r\n\r\n\r\n<p>There&rsquo;s no better example of these benefits than <a href=\"http:\/\/www.c-command.com\/spamsieve\">SpamSieve 1.2.2<\/a>, the latest update to Michael Tsai&rsquo;s US$20 spam filtering application for Mailsmith, PowerMail, and Entourage, now also for Eudora and even Emailer (though, as a Mac OS X-only program, it only works with Emailer running in the Classic environment).<\/p>\r\n\r\n\r\n\r\n<p><em>[discussion of SpamSieve omitted]<\/em><\/p>\r\n\r\n\r\n\r\n<p>Thanks to AppleScript and SpamSieve&rsquo;s support of the top five scriptable E-mail clients, you can use any of these programs and retain your customized spam filtering.  Want to move to Entourage from Eudora? Just add SpamSieve&rsquo;s scripts and go&mdash;the thousands of messages you&rsquo;ve already trained keep working for you in the new client.  At first, we thought E-mail clients should build in functionality like SpamSieve, but the more clients it supports, the more flexibility you have. In fact, only one major Mac OS X E-mail client is ineligible for SpamSieve&rsquo;s filtering because it&rsquo;s not scriptable and can&rsquo;t run an AppleScript from a filter: Apple&rsquo;s own <a href=\"http:\/\/www.apple.com\/macosx\/jaguar\/mail.html\">Mail application<\/a>. It&rsquo;s also the only client with its own high-profile spam filtering that&rsquo;s implemented as part of Mac OS X 10.2, but is so closed that no one even knows how it works (Apple only admits it&rsquo;s &ldquo;adaptive latent semantic analysis,&rdquo; whatever that is) and no other program can use it.<\/p>\r\n\r\n\r\n\r\n<p>You know something&rsquo;s weird in Cupertino when standards-gonzo Apple has a proprietary and closed solution, and the one that&rsquo;s documented and supports all the other programs won&rsquo;t work with Apple&rsquo;s Mail because the company won&rsquo;t support its own scripting technology.  It&rsquo;s yet another reason not to get tied into Apple&rsquo;s not-quite-full-strength E-mail client.<\/p>\r\n\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>MDJ 2002.11.22&rsquo;s coverage of SpamSieve 1.2.2 makes some interesting points about how &ldquo;AppleScript is making componentized software possible, with only Apple missing out on the benefits&rdquo;: Developers are often surprised that a good AppleScript implementation turns out to be a better idea than a check-off item on a feature list. When done properly, AppleScript lets [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[372],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-technology","tag-spamsieve"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/90","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":15402,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions\/15402"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}