<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Veritrope &#187; Applescript</title>
	<atom:link href="http://veritrope.com/tag/applescript/feed/" rel="self" type="application/rss+xml" />
	<link>http://veritrope.com</link>
	<description>Tech, Arts, Travel</description>
	<lastBuildDate>Mon, 05 Jul 2010 09:46:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='veritrope.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Apple Mail to Evernote AppleScript Update &#8212; Now With Attachments!</title>
		<link>http://veritrope.com/tips/apple-mail-to-evernote-applescript-update-now-with-attachments/</link>
		<comments>http://veritrope.com/tips/apple-mail-to-evernote-applescript-update-now-with-attachments/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 03:55:12 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Evernote]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=4508</guid>
		<description><![CDATA[Update to the latest version!]]></description>
			<content:encoded><![CDATA[<p><img src="http://veritrope.com/wp-content/uploads/2010/06/EvernoteDrop.png" alt="" title="EvernoteDrop" width="128" height="128" class="alignleft size-full wp-image-4467" /><br />
I&#8217;ve updated the Apple Mail to Evernote Archiver Script to Version 1.3 &#8212; <a href="http://veritrope.com/tips/mail-to-evernote/" >Check out the script&#8217;s page</a> for details (and a download link!)</p>
]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/apple-mail-to-evernote-applescript-update-now-with-attachments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create an &#8220;Evernote Dropbox&#8221;: Get Files and Scanned Documents into Evernote Quickly!</title>
		<link>http://veritrope.com/tips/evernote-desktop-folder/</link>
		<comments>http://veritrope.com/tips/evernote-desktop-folder/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 13:18:58 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Evernote]]></category>
		<category><![CDATA[Folder Action]]></category>
		<category><![CDATA[ScanSnap]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=4203</guid>
		<description><![CDATA[A workflow that uses a special Desktop folder which allows you to tag and direct files into Evernote with only a few keystrokes. Excellent for scanning paper documents — and for using Evernote as a “Virtual Hard Drive” to save items directly into.]]></description>
			<content:encoded><![CDATA[<p><a href="http://veritrope.com/wp-content/uploads/2010/06/EvernoteScreenSnapz001.jpg" ><img src="http://veritrope.com/wp-content/uploads/2010/06/EvernoteScreenSnapz001.jpg" alt="" title="EvernoteScreenSnapz001" width="624" height="173" /></a><br />
Some of you have expressed an interest in how I use Folder Actions to speed up getting files into Evernote, so here is a brief walk-through of something that I developed for myself and for my clients.<br />
<span id="more-4203"></span></p>
<h3>What It Is</h3>
<p>It is a special folder that resides on your Desktop.  When you drop or save files into it, a window pops up that allows you to tag and direct those files into a specific notebook with only a few keystrokes.  Once the file has been sent to Evernote, the original is placed in the Trash.</p>
<p>Simple, eh?</p>
<h3>Usage</h3>
<p>I use this workflow primarily in two ways: Scanning paper documents with my ScanSnap &#8212; and as a &#8220;Virtual Hard Drive&#8221; to save items directly into Evernote.</p>
<p><a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3Dscansnap%26url%3Dsearch-alias%253Daps&#038;tag=veritrope-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957" >The ScanSnap Series of Document Scanners</a><img src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> are currently my favorite devices for ordinary people to scan in all of their paper documents.  They&#8217;re easy, reliable, and fast!  The included ScanSnap software can be set up to allow direct scanning to Evernote, but it leaves behind a copy of the original&#8230; which causes an accumulation of PDF files very quickly.  By using this &#8220;Evernote Dropbox Folder&#8221;, I can keep my hard drive clear of unneeded copies once they&#8217;re in Evernote.</p>
<p>I can also use the folder as a place to save documents from any program quickly into Evernote.  Getting a copy into Evernote is now just as simple as selecting &#8220;Save As&#8230;&#8221; and pointing the file into your automated Evernote folder. </p>
<p>In both cases, the included tagging and notebook selection window lets me organize things on the way into Evernote &#8212; which helps me to not be so lazy about keeping things tidy! <img src='http://veritrope.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Caveats</h3>
<ul>
<li>These instructions and screenshots below are for Snow Leopard (OS X 10.6).  It&#8217;s a little different when doing this with Leopard (OS X 10.5).</li>
<li>Even with recent improvements from Apple in the way that Folder Actions work, the process can be triggered before all of your data is in the folder.  If you&#8217;re scanning a large document or copying a file from a networked drive, I&#8217;d recommend saving it to your local computer in it&#8217;s entirety before dragging it into your Evernote dropbox folder.</li>
<li>If you don&#8217;t already have an <a target="_blank" href="http://www.evernote.com/about/premium/" >Evernote Premium</a> account, this won&#8217;t magically allow you to save file types that aren&#8217;t a part of their free offering.</li>
</ul>
<h3>Installation</h3>
<p>Here&#8217;s how to set things up, step-by-step:</p>
<ol>
<li>Download and extract this ZIP file:<br />
<a href="http://veritrope.com/mint/pepper/tillkruess/downloads/tracker.php?url=http://media.veritrope.com/scripts/Evernote_Folder_Action_Files.zip&amp;remote" ><img src="http://media.veritrope.com/wp-content/images/download_button.png" alt="CLICK HERE TO DOWNLOAD" width="300" /></a></li>
<li>Copy the included Folder Action Script to the <strong>/Library/Scripts/Folder Action Scripts</strong> directory on your Hard Drive</li>
<li>Create a Folder on your Desktop to serve as your &#8220;Evernote Dropbox&#8221;.  Personally, I call mine &#8220;@EVERNOTE&#8221; &#8212; but you can call it whatever you like.</li>
<li>Activate the Folder Action by Control-Clicking on this folder (a.k.a., &#8220;Right Clicking&#8221;) and selecting &#8220;Folder Action Setup&#8221; from the &#8220;Services&#8221; menu:<br />
<a href="http://veritrope.com/wp-content/uploads/2010/06/FinderScreenSnapz0011.jpg" ><img class="size-full wp-image-4451 alignnone" title="Folder Action" src="http://veritrope.com/wp-content/uploads/2010/06/FinderScreenSnapz0011.jpg" alt="" width="482" height="168" /></a></li>
<li>Select the Evernote Script from the Folder Action Setup menu:<br />
<a href="http://veritrope.com/wp-content/uploads/2010/06/Folder-Actions-SetupScreenSnapz001.jpg" ><img class="size-full wp-image-4463 alignnone" title="Folder Actions SetupScreen" src="http://veritrope.com/wp-content/uploads/2010/06/Folder-Actions-SetupScreenSnapz001.jpg" alt="" width="314" height="188" /></a></li>
</ol>
<h3>Fit and Finish</h3>
<p>The Folder should be working at this point, but I like to do a couple of other things to make it a little more useful &#8212; and to remind me to use it! </p>
<p>First, I change the icon of the folder so it stands out on the Desktop.  I&#8217;ve hacked together an icon for me and my clients &#8212; and I&#8217;ve included it in the ZIP file for your convenience.</p>
<ol>
<li>To change your icon from the standard folder graphic, open the image file that I included in the ZIP file and open it with Preview.  Press Command-A (⌘A) to select the whole image and then press Command-C (⌘C) to copy it to the Clipboard.</li>
<li>To change to the new image, highlight your new Evernote Desktop folder and select &#8220;Get Info&#8221; &#8212; either from the Finder Menu=&gt;File Menu or by pressing Command-I (⌘I).  A window will open with information about the folder&#8230; and at the top will be the graphic for the folder.  Click on it and you&#8217;ll see a subtle blue highlighting around the image.  This means that it&#8217;s ready for our new image.<br />
<a href="http://veritrope.com/wp-content/uploads/2010/06/FinderScreenSnapz002.jpg" ><img class="size-thumbnail wp-image-4450 alignnone" title="FinderScreenSnapz002" src="http://veritrope.com/wp-content/uploads/2010/06/FinderScreenSnapz002-150x150.jpg" alt="" width="150" height="150" /></a></li>
<li>Press Command-V (⌘V) to paste the image and &#8212; voila &#8212; you&#8217;ve got yourself a custom icon!<a href="http://veritrope.com/wp-content/uploads/2010/06/EvernoteDrop.png" ><img class="size-full wp-image-4467 alignnone" title="EvernoteDrop" src="http://veritrope.com/wp-content/uploads/2010/06/EvernoteDrop.png" alt="" width="128" height="128" /></a></li>
<li>I also like to create a shortcut in the Finder Sidebar.  To create it, just drag-and-drop the Folder into Finder&#8217;s &#8220;Places&#8221; to add a shortcut.  Now whenever you are saving a document, you can quickly select Evernote as the location to save your file!
</ol>
<p><a href="http://veritrope.com/wp-content/uploads/2010/06/FinderScreenSnapz0021.jpg" ><img class="size-full wp-image-4455 alignnone" title="Evernote in Finder's Places" src="http://veritrope.com/wp-content/uploads/2010/06/FinderScreenSnapz0021.jpg" alt="" width="218" height="168" /></a></li>
<p>That&#8217;s it!  Let me know how it works for you in the comments below&#8230; and if something seems broken, please <a href="http://veritrope.com/bug-report/" >submit your Bug Reports here</a>!</p>
<h1>Take One Minute to Keep This Site Going &#8212; Either With Your Comments or Contributions!</h1>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="53QZTJ8VNSE46">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<a href="http://veritrope.com/tips/evernote-desktop-folder/"  class='retweet ' startCount = '0'>Create an &#8220;Evernote Dropbox&#8221;: Get Files and Scanned Documents into Evernote Quickly!</a>]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/evernote-desktop-folder/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Learn To Speak AppleScript, Part 3: Coding Like Picasso</title>
		<link>http://veritrope.com/tips/learn-to-speak-applescript-part-3/</link>
		<comments>http://veritrope.com/tips/learn-to-speak-applescript-part-3/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 04:38:25 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Mail.app]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=4099</guid>
		<description><![CDATA[Part Three of a short tutorial on how AppleScript can streamline your work, make you more productive, and save you time!]]></description>
			<content:encoded><![CDATA[<p><a href="http://media.veritrope.com/wp-content/uploads/2010/04/picasso4602.jpg" ><img class="alignright size-full wp-image-4147" title="picasso4602" src="http://media.veritrope.com/wp-content/uploads/2010/04/picasso4602.jpg" alt="" width="150" height="136" /></a></p>
<blockquote><p><strong>If you&#8217;re just joining us, here are Parts <a href="http://veritrope.com/tips/learn-to-speak-applescript" >One</a> and <a href="http://veritrope.com/tips/learn-to-speak-applescript-part-2" >Two</a> of the &#8220;Learn To Speak AppleScript&#8221; Series!</strong></p></blockquote>
<p>Familiar with that quote by Pablo Picasso <em>“Good artists copy, great artists steal&#8221;</em>?</p>
<p>Well&#8230; let&#8217;s just say this:<br />
<strong>We&#8217;re going to make you into a <em>Great AppleScript Artist</em> with this lesson! <img src='http://veritrope.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </strong><br />
<span id="more-4099"></span></p>
<h3>Who Says That There&#8217;s No Honor Among Thieves?</h3>
<p>With painting, music, writing &#8211; it&#8217;s a tradition to acknowledge the people that came before you.  After all, without their contributions, you&#8217;d still be twiddling your thumbs.  The best artists may have big egos, but they know that they aren&#8217;t starting from scratch &#8212; and programming is no different.</p>
<p>Realize this &#8212; <strong>The very act of writing an AppleScript immediately makes you a part of the Mac Community</strong>. It is a deep well where you can draw from the wisdom and insights of its long-standing members, benefit from its strong tradition of mentoring newcomers, and also share **your** insights back with those creative, smart people &#8212; all over the world.</p>
<p>As we discussed in <a href="http://veritrope.com/tips/learn-to-speak-applescript-part-2" >Part Two of &#8220;Learn To Speak AppleScript&#8221;</a>, &#8220;good programming&#8221; is a by-product of good thinking.  Your head and your ego need to be situated properly to think clearly and to do your best work.  It&#8217;s no different that a batter stepping up to the plate, a singer stepping up to a microphone, etc. &#8212; you should do what you have to do in order to &#8220;settle in&#8221; before game time.</p>
<p>Here&#8217;s one thing that I&#8217;ve been doing before writing or programming lately: I re-read Liz Danzico&#8217;s post (a.k.a., <a target="_blank" href="http://twitter.com/bobulate" >@Bobulate</a>) about <a target="_blank" href="http://bobulate.com/post/485584506/the-enthusiasm-currency" >&#8220;The Currency of Enthusiasm&#8221;</a>.  Her post is a reminder that I can encourage more good work in the world by just taking a moment to acknowledge it when I see it.  (BTW &#8212; Nice job, Liz! )</p>
<p>And believe it or not, I can make the world a better place by using someone else&#8217;s code bits in my AppleScript.</p>
<h3>The Art of The Steal</h3>
<p>Picasso made a distinction between &#8220;copying&#8221; and &#8220;stealing&#8221; &#8212; &#8220;stealing&#8221; being the road to artistic greatness.</p>
<p>Is &#8220;stealing&#8221; just copying <em>more</em>?  No.<br />
<strong>It&#8217;s quite literally the act of taking something that belongs to someone else &#8212; <em>and making it your own</em>.</strong></p>
<p>After all, chances are that if you&#8217;re facing a programming challenge (hell, if you&#8217;re facing <em>any kind of challenge in life</em>), some one else has been through it.  Thankfully, programmers as a group tend to talk in great detail about the &#8220;code dragons&#8221; that they&#8217;ve slain &#8212; and they often publish the source code that they used to do it.</p>
<p>So I say find that code.  Use it.   And, ultimately, make it your own.</p>
<p>And that, my friends, is &#8220;The Art of the Steal&#8221; and an essential key to Learning to Speak AppleScript.   Find those smart people who have generously shared their solution to your problem, use it not only to solve your immediate problems but also to learn, and then acknowledge that their good work was a help to you.  If you can, find ways to improve their bits and make them your own &#8212; and share your contribution back with the community so that other people can benefit from it.</p>
<p>Take a penny.  Leave a penny.</p>
<p>&#8220;Internet etiquette&#8221; isn&#8217;t some esoteric thing: If you do it correctly, you&#8217;ll learn how to be a better programmer, you&#8217;ll make new friends, and you&#8217;ll get to help people.  Your enthusiasm will shine a light on the contributions of others &#8212; and encourage new people to add water to the collective well of ideas and not just drink it dry.</p>
<p>Do it wrong &#8212; and <a target="_blank" href="http://www.kungfugrippe.com/post/508615417/regret" >you&#8217;ll be a pariah</a>.</p>
<h1><a href="http://veritrope.com/tips/learn-to-speak-applescript-part-3/2" >On the Next Page &#8212; We Begin to Code!</a></h1>
]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/learn-to-speak-applescript-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn To Speak AppleScript, Part 2: Baby Steps</title>
		<link>http://veritrope.com/tips/learn-to-speak-applescript-part-2/</link>
		<comments>http://veritrope.com/tips/learn-to-speak-applescript-part-2/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 01:00:33 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3946</guid>
		<description><![CDATA[Part Two of a short tutorial on how AppleScript can streamline your work, make you more productive, and save you time!  This lesson focuses on how to plan a new script and prepare to write it!]]></description>
			<content:encoded><![CDATA[<blockquote>
<h3><a href="http://veritrope.com/tips/learn-to-speak-applescript" >Click Here To Read Part One of &#8220;Learn To Speak AppleScript&#8221;</a></h3>
</blockquote>
<p><img src="http://media.veritrope.com/wp-content/uploads/2009/11/apple_script.gif" alt="" title="applescript"  class="alignright size-full wp-image-3566" /><br />
To recap the end of <a href="http://veritrope.com/tips/learn-to-speak-applescript" >Part One</a>, your goal will be to build a script that will save your emails as text files.   The actual programming will be covered in Part Three and, when we get there, I&#8217;ll try to stay more &#8220;conceptual&#8221;.</p>
<p><em>My goal</em> will be to give you a feel for how an AppleScript does its job &#8212; but still include enough real-life code to keep it interesting for more experienced scripters (or for people who came here from a search engine looking for a bit of code to get their scripts up and running!)</p>
<p>But, if you <em>are</em> a beginner, don&#8217;t let those computer code snippets intimidate you!  They are included primarily so that you can see what a real-life Script looks like and not with any expectation that you master the intricacies of the AppleScript language.</p>
<p>After all, this is really an exercise in teaching you the fundamentals of <em>thinking and speaking</em> AppleScript.  In other words, this is going to be more like an English class in literature where we talk about books and what they mean &#8212; and <strong>not</strong> a grammar lesson.</p>
<p>In fact, that metaphor is actually a pretty good way to get started!<br />
<span id="more-3946"></span></p>
<h3>The First Step Is Between Your Ears</h3>
<p>As I mentioned in Part One, AppleScript is an &#8220;English-like&#8221; programming language.</p>
<p>What we are going to do in this lesson is to state our goals as clearly as we can &#8212; and do so in plain, everyday language.  Once we&#8217;ve done that, we&#8217;ll set about writing an AppleScript that matches up with that description.</p>
<blockquote><p>
<strong>Rule #1:</strong><br />
<em>First, we say it in English&#8230;. then we say it in &#8220;English-like&#8221;.</em>
</p></blockquote>
<p>Writing a good AppleScript is like&#8230;.  (wait for it) &#8230;. <em>writing a good <strong>anything</strong>!</em></p>
<p>Most things that are well-written have probably started from a place of being <em>well-thought-out</em>, right?  That&#8217;s not to say that you won&#8217;t discover some fun, unexpected stuff along the way &#8212; but <strong>actions begin with intentions</strong>.  My experience is this: The clearer you are about your intentions when you start, the more you&#8217;ll make the right choices along the way.<sup>1</sup></p>
<p>And the more likely you&#8217;ll end up with <em>a working thing</em> at the end of your journey.</p>
<h1>The Goal of the Script (In Plain English)</h1>
<p>First, we need to state our overall goal as clearly as we can.  For this first sample script, that goal is:</p>
<blockquote><p><strong>&#8220;I want a script that will save emails as text files.&#8221;</strong></p></blockquote>
<h3>The Basic Elements We&#8217;ll Need In the Script:</h3>
<p>Now that we know <em>what we want to do</em>, we&#8217;ll flesh out the details more fully:<br />
<span class="pullquote"><!--First, We Say It In English.... Then We Say It In "English-Like".--></span></p>
<ol>
<li>I use the Apple Mail application to read my emails.</li>
<li>I want to be able to save emails as text files.</li>
<li>I want to be able to save more than one email at a time.</li>
<li>I want to be able to control where the text files are saved to.</li>
<li>I want the new text files to have distinctive names so that I can tell them apart more easily.</li>
<li>I want the script to come up with those names so that I don&#8217;t have to do it for each file.</li>
</ol>
<h3>&#8220;I Four Years Old!&#8221;</h3>
<p>You&#8217;ll notice how explicit I was in calling out each part of what I wanted to do.</p>
<p><strong>This way of thinking in terms of &#8220;baby steps&#8221; towards your overall goal is probably the most important thing you can take from this lesson.</strong></p>
<p>Here&#8217;s why &#8212; AppleScript is great, but teaching it to do what you want it to do can be like <em>trying to teach a child</em>.   You really need to try and see things through the eyes of a kid (or, in this case, a computer that knows only what you tell it) in order to know how to communicate.</p>
<blockquote><p>
<strong>Rule #2:</strong><br />
<em>AppleScript is like an energetic child.  It&#8217;s eager to please &#8212; but in need of clear, constant direction.</em></p></blockquote>
<p>It reminds me a bit of that old Bill Cosby comedy routine about a kid named Jeffery:</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/Fs0cYJUqJys&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Fs0cYJUqJys&#038;fs=1" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>If you have any hope of getting off the plane with your sanity intact, you&#8217;re going to have to learn how to translate your adult language into something a kid can understand.  That is to say, it&#8217;s something <em>you&#8217;re absolutely going to be able to do</em> &#8212; it&#8217;s just going to take a brief transition while you take a deep breath and mentally switch gears from your language and into theirs.</p>
<h3>Sometimes, Kids Just Don&#8217;t Understand</h3>
<p>I&#8217;ll make one more point using the &#8220;Talking To Kids Metaphor&#8221; as we end Part Two&#8230;</p>
<p>Every kid is different.<br />
Some are barely able to tie their shoes.<br />
Some come up to you and, unprompted, freak you out by asking if you&#8217;re an <a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3Dexistentialist%26url%3Dsearch-alias%253Daps&#038;tag=veritrope-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957" >existentialist</a><img src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.</p>
<p>In the world of AppleScript, each of the applications on your Mac &#8212; programs like Apple Mail, Firefox, Evernote, iCal, etc. &#8212; are like kids at different grade levels.  And, although you can sometimes guess, you&#8217;ll never really know<em> which type of kid it is</em> until you start talking to them and figure out their vocabulary level.</p>
<p>And this is the point where, thankfully, reality departs from the metaphor:  In the computer world, you can<em> actually see which words an application knows ahead of time</em> &#8212; sparing you painful, Jeffery-like conversations.  When it comes to speaking AppleScript, each program keeps a list of the vocabulary it knows in <strong>an AppleScript Dictionary</strong>. (Easy to remember, right?)</p>
<h3>Ready To Talk?</h3>
<p>In Part Three, we&#8217;ll open up that dictionary and start having an AppleScript conversation with a fairly &#8220;well-spoken&#8221; kid on the Application playground &#8212; Apple Mail!</p>
<ol class="footnotes"><li id="footnote_0_3946" class="footnote">I&#8217;d like to welcome everyone to the Veritrope.com &#8220;Den of Zen&#8221;&#8230;</li></ol>]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/learn-to-speak-applescript-part-2/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>AppleScripting Doppelgängers?, MacHeist Sale, Cold Weather Geekery, Scientific Whoa-tation, and Schneier on Assains</title>
		<link>http://veritrope.com/opinion/applescripting-doppelgangers-macheist-sale-cold-weather-geekery-scientific-whoa-tation-and-schneier-on-assains/</link>
		<comments>http://veritrope.com/opinion/applescripting-doppelgangers-macheist-sale-cold-weather-geekery-scientific-whoa-tation-and-schneier-on-assains/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 00:08:13 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[assassination]]></category>
		<category><![CDATA[Bruce Schneier]]></category>
		<category><![CDATA[Clips]]></category>
		<category><![CDATA[CoverScout]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[hella]]></category>
		<category><![CDATA[Launchbar]]></category>
		<category><![CDATA[LCDs]]></category>
		<category><![CDATA[MacHeist]]></category>
		<category><![CDATA[MacJournal]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RapidWeaver]]></category>
		<category><![CDATA[RipIt]]></category>
		<category><![CDATA[Scottevest]]></category>
		<category><![CDATA[Tavo]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3987</guid>
		<description><![CDATA[Tech Links for Tuesday, March 2, 2010]]></description>
			<content:encoded><![CDATA[<ul>
<li><img src="http://justinblanton.com/favicon.ico" border="0" alt="" width="15" height="15" /> <strong> <a target="_blank" href="http://justinblanton.com/2010/02/launchbar-timer" title="Justin Blanton | Create a simple timer using LaunchBar and AppleScript" >Two Cool AppleScripts</a></strong>
<p>I recently became aware of a project on the <a target="_blank" href="http://brokencitylab.org" >Broken City Lab</a> website that <a href="http://veritrope.com/tips/export-apple-mail-messages-and-notes-to-text-files/" >used one of my AppleScripts</a> as a reference: This post about <a target="_blank" href="http://www.brokencitylab.org/blog/arduino-lcd-php-part-2/" >Using AppleScript With Arduino, LCDs, and PHP</a> documents <a target="_blank" href="http://justinlanglois.com/" >Justin Langlois&#8217;s</a> efforts to use AppleScript to drive an external hardware project.  Not only do we share the same first name but, since his last name is the same as my Canadian grandfather&#8217;s, it has set me off on a wild theory about having a distant AppleScripting cousin north of the border.</p>
<p>And in another weird confluence, I discovered yet other AppleScripting Justin (how many of us are there, anyways?) &#8212; <a target="_blank" href="http://justinblanton.com/" >Justin Blanton</a>.  He recently served up this cool bit of code on his site:  <a target="_blank" href="http://justinblanton.com/2010/02/launchbar-timer" title="Justin Blanton | Create a simple timer using LaunchBar and AppleScript" >An AppleScript-driven &#8220;kitchen timer&#8221;</a> that works with <a target="_blank" href="http://www.obdev.at/products/launchbar/index.html" >Launchbar</a>.  Some of his use-case examples are:</p>
<blockquote>
<ul>
<li>Remembering to leave in 10 minutes to pick up the takeout order I just made.</li>
<li>Remembering to get the coffee out of the french press in four minutes.</li>
<li>Remembering to call someone back in 20 minutes.</li>
<li>Remembering to take the pizza out of the oven in 15 minutes (when I’m not within earshot of the oven alarm).</li>
</ul>
</blockquote>
<p>Looks pretty handy&#8230;. well done!<br />
(Via <a target="_blank" href="brokencitylab.org">Broken City Lab</a> and <a title="justinblanton.com" href="http://justinblanton.com/2010/02/launchbar-timer" >justinblanton.com </a>)</li>
<li><img src="http://www.macheist.com/favicon.ico" border="0" alt="www.macheist.com" width="15" height="15" /> <strong> <a target="_blank" href="http://www.macheist.com/" title="MacHeist ~ Stay tuned…" >MacHeist ~ Stay tuned…</a></strong><br />
After a brief delay, the latest <a target="_blank" href="http://www.macheist.com/" >MacHeist nanoBundle 2</a> is live and there&#8217;s lots of goodies to be had: 	MacJournal, RipIt, Clips, CoverScout, Flow, RapidWeaver, and (after 50,000 bundles are sold) Tales of Monkey Island&#8230;.<strong>All for $20!</strong> That&#8217;s over $240 off of the total list prices and, even better, 25% of your purchase goes to charity!<br />
(Via <a target="_blank" href="http://www.macheist.com/" title="www.macheist.com" >www.macheist.com </a>)</li>
<li><img src="http://www.scottevest.com/favicon.ico" border="0" alt="" width="15" height="15" /> <strong> <a target="_blank" href="http://www.scottevest.com/" title="SCOTTEVEST" >SCOTTEVEST &#8211; Travel Clothing </a></strong><br />
In case you&#8217;ve never heard of <a target="_blank" href="http://www.scottevest.com" >Scottevest</a>, they&#8217;re the Idaho-based purveyors of tech-friendly Travelwear.  During their 40% Off Sale last week, I picked up a couple of jackets (for an upcoming review and &#8220;Travel Tech&#8221; series) which arrived today.  I thought I&#8217;d try the Quantum Jacket while running errands here in chilly NYC today and, I have to say, I&#8217;m impressed.  Combined with my also-newly-purchased  <a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3DTavo%26url%3Dsearch-alias%253Delectronics&amp;tag=veritrope-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957" >Tavo Gloves</a><img style="border: none !important; margin: 0px !important;" src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /> (which let you operate your iPhone without suffering frostbitten fingers), I was well-equipped to withstand a Category 5 Geek-alanche!<sup>1</sup>  &#8212; or at least to win a few <a href="nerdmeritbadge.com">Nerd Merit Badges</a>!<br />
(Via <a target="_blank" href="http://www.scottevest.com/" title="www.scottevest.com" >www.scottevest.com </a>)</li>
<li><img src="http://www.boingboing.net/favicon.ico" border="0" alt="" width="15" height="15" /> <strong> <a target="_blank" href="http://www.boingboing.net/2010/03/01/petition-to-make-hel.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+boingboing%2FiBag+%28Boing+Boing%29" title="Petition to make " >Petition to make &#8220;Hella&#8221; the prefix for 1,000,000,000,000,000,000,000,000,000 &#8211; Boing Boing</a></strong><br />
C&#8217;mon &#8212; the <a target="_blank" href="http://www.calacademy.org/" >California Academy of Science</a> <em>totally</em> has to be behind this effort, right?  (Wassup Kevin!)<br />
(Via <a target="_blank" href="http://www.boingboing.net/2010/03/01/petition-to-make-hel.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+boingboing%2FiBag+%28Boing+Boing%29" title="www.boingboing.net" >www.boingboing.net </a>)</li>
<li><img src="http://veritrope.com/favicon.ico" border="0" alt="" width="15" height="15" /> <strong> <a target="_blank" href="http://www.schneier.com/blog/archives/2010/03/more_on_the_al-.html" title="Schneier on Security: More on the Al-Mabhouh Assassination" >Schneier on Security: More on the Al-Mabhouh Assassination</a></strong><br />
<a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3Dbruce%2520schneier%26url%3Dsearch-alias%253Daps&#038;tag=veritrope-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957" >Bruce Schneier</a><img src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> is like a bearded, truth-seeking missile &#8212; here he is, deconstructing some <a target="_blank" href="http://news.google.com/news?&#038;q=Al-Mabhouh+Assassination" >recent events you may have heard about in Dubai</a>:</p>
<blockquote><p>The truth is that Mr. Mabhouh&#8217;s assassination was conducted according to the book &#8212; a military operation in which the environment is completely controlled by the assassins. At least 25 people are needed to carry off something like this. You need &#8220;eyes on&#8221; the target 24 hours a day to ensure that when the time comes he is alone. You need coverage of the police &#8212; assassinations go very wrong when the police stumble into the middle of one. You need coverage of the hotel security staff, the maids, the outside of the hotel. You even need people in back-up accommodations in the event the team needs a place to hide.</p></blockquote>
<p>(Via <a target="_blank" href="http://www.schneier.com/blog/archives/2010/03/more_on_the_al-.html" title="www.schneier.com" >www.schneier.com </a>)</li>
</ul>
<ol class="footnotes"><li id="footnote_0_3987" class="footnote">Yes, I realize that I am mixing a couple of weather-related things together in an awkward, unfortunate way</li></ol>]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/opinion/applescripting-doppelgangers-macheist-sale-cold-weather-geekery-scientific-whoa-tation-and-schneier-on-assains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Users &#8212; Want To Get Things Done Faster? Learn to Speak AppleScript!</title>
		<link>http://veritrope.com/tips/learn-to-speak-applescript/</link>
		<comments>http://veritrope.com/tips/learn-to-speak-applescript/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 06:04:24 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3560</guid>
		<description><![CDATA[Part One of a short tutorial on how AppleScript can streamline your work, make you more productive, and save you time!]]></description>
			<content:encoded><![CDATA[<p><img src="http://media.veritrope.com/wp-content/uploads/2009/11/apple_script.gif" alt="" title="applescript"  class="alignright size-full wp-image-3566" /><br />
<strong>Here&#8217;s something for both new and experienced Mac users &#8212; Part One of a short tutorial on how AppleScript can streamline your work, make you more productive, and save you time!</strong></p>
<h3>What Exactly <em>is</em> AppleScript?</h3>
<p>AppleScript is an English-like language used to write programs that control applications on your computer.  The &#8220;English-like&#8221; part is important &#8212; <em>it means that you don&#8217;t need to have a computer science degree to use it.</em><br />
<strong><br />
<blockquote>Simply put, it&#8217;s programming for regular people who want to <em>get things done faster</em>.</p></blockquote>
<p></strong><br />
<span id="more-3560"></span><br />
The programs that you write in AppleScript are called &#8220;scripts&#8221; (you saw that coming, right?).  Much like the script for a movie, an AppleScript is really just a list of instructions for your computer to follow.  It&#8217;s kind of like saying to your Mac, &#8220;Okay &#8212; when I say <em>this</em>, you need to <strong>do X, Y, and Z</strong>.&#8221;  Honestly, that&#8217;s all that <i>scripting</i> means&#8230;  giving your Mac a To-Do list.</p>
<p><strong>Best of all, it&#8217;s free!</strong>  Apple generously includes several tools that you&#8217;ll need to get started with automating tasks on your Mac &#8212; including the AppleScript Editor, which is used to write and save new AppleScripts for your computer to follow.</p>
<h3>What is AppleScript Good For?</h3>
<p>If you&#8217;ve ever known the soul-sucking drudgery of having to perform the same tasks over-and-over again on your computer, then AppleScript is for you!  <strong>AppleScript automates repetitive tasks for you.</strong>  So, instead of wasting time doing everything by hand, your computer does it for you&#8230;</p>
<p>(This is, after all, what they are <em><strong>supposed to do</strong> in the first place</em>. <img src='http://veritrope.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  )</p>
<p>Need to change the names of 100 files?  You can either spend <em>the next hour clicking and typing yourself into <strong>carpal-tunnel-induced dementia</strong><sup>1</sup> </em> &#8212; or spend 2 minutes to write a script, click a button, and it&#8217;s done!</p>
<p>Most programs on the Mac have at least some level of support for AppleScript and, if you look around <a href="http://veritrope.com" >Veritrope.com</a>, you&#8217;ll see <a href="http://veritrope.com/tag/applescript" >AppleScripts</a> that I&#8217;ve written to work with (and to connect together) many popular Mac applications.   There are literally thousands of AppleScripts available to automate your system (most of them free!).</p>
<p>And, if by some chance you can&#8217;t find a script that someone else has written to automate a particular task, it really is easy enough to write one for yourself.</p>
<h3>How do I learn AppleScript?</h3>
<p>People often write me asking &#8220;How did you learn AppleScript?&#8221;</p>
<p>The simple answer is that I started <em><strong>reading</strong> AppleScripts</em> written by people who knew what they were doing.  The more that I read, the more I understood what was possible &#8212; and also some of the things you needed to make a working script.</p>
<p>
In other words &#8212; <strong><span class="pullquote">Before I could really speak AppleScript, I started to learn how to **THINK** AppleScript</span></strong>.  It&#8217;s really not any different than if you were dropped into a place where you didn&#8217;t know the language.  You&#8217;d probably understand what the people around you <em>were getting at</em> &#8212;   long before you learned enough of the language to make yourself understood.
</p>
<h3>How To Learn The Language</h3>
<p>
The quasi-official <a target="_blank" href="http://www.macosxautomation.com/" >macosxautomation.com</a> site is probably the best place to get started.  It has <strong>lots</strong> of introductory tutorials and code examples for the beginning AppleScripter &#8212; but also some great introductions to other utilities that really set the Mac apart (like Automator and Services).</p>
<p>People like <a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3Dben%2520waldie%26url%3Dsearch-alias%253Daps&#038;tag=veritrope-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957" >Ben Waldie</a><img src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> (a guru of AppleScript and <a target="_blank" href="http://www.automatedworkflows.com/" >Mac Automation</a>) &#8212; as well as any number of people who post on <a target="_blank" href="http://macscripter.net/" >the MacScripter forum</a> &#8212; also really helped me get going.  I was truly inspired by their projects&#8230; and also by the community that they maintained to help new people like me get started.</p>
<p>As I started to <em>really</em> get more into it, I also found some great <a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3DAppleScript%26url%3Dsearch-alias%253Daps&#038;tag=veritrope-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957" >books about AppleScript</a><img src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> (Especially <a target="_blank" href="http://www.amazon.com/gp/product/0321149319?ie=UTF8&#038;tag=veritrope-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321149319" >Sal Soghoian&#8217;s &#8220;AppleScript 1-2-3&#8243;</a><img src="http://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=as2&#038;o=1&#038;a=0321149319" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />)</p>
<h3>Learning How To Think</h3>
<p>All of the resources that I just mentioned are <strong><em>the</em></strong> places to learn the actual ins-and-outs of programming in AppleScript&#8230; Honestly, you really can&#8217;t do much better than all of these great, talented teachers!  Read what they have to say &#8212; and they&#8217;ll whip your scripting vocabulary and programming grammar into shape before you know it!</p>
<p>What I&#8217;d like to do here is a little different: I want to try and <em><strong>teach you how to think in AppleScript</strong></em> so that, while you&#8217;re learning from these great resources, you&#8217;ll have an existing framework for understanding what they&#8217;re trying to teach you.  That way when it comes time to write your own scripts, you&#8217;ll hopefully have a stronger sense of what your looking for and, what&#8217;s more, the types of scripts you&#8217;ll need to put together to make it all work.</p>
<p>In <a href="http://veritrope.com/tips/learn-to-speak-applescript-part-2" >Part Two of this series</a>, we&#8217;re going to start to build our first sample script: <strong>An AppleScript that will save your emails as text files!</strong></p>
<ol class="footnotes"><li id="footnote_0_3560" class="footnote">This is not a real condition&#8230;I hope!</li></ol>]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/learn-to-speak-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacJournal News: Updated AppleScripts, Macworld Review, and MacHeist</title>
		<link>http://veritrope.com/opinion/macjournal-news-updated-applescripts-macworld-review-and-macheist/</link>
		<comments>http://veritrope.com/opinion/macjournal-news-updated-applescripts-macworld-review-and-macheist/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 06:57:23 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Evernote]]></category>
		<category><![CDATA[MacHeist]]></category>
		<category><![CDATA[MacJournal]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3756</guid>
		<description><![CDATA[MacJournal News: Updated AppleScripts, Macworld Review, and MacHeist]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://media.veritrope.com/wp-content/uploads/2009/10/MacJournal-300x300.png" title="MacJournal" class="alignright" width="300" height="300" /></p>
<h3>Now There Are **TWO** Evernote-to-MacJournal AppleScripts&#8230;</h3>
<p><a href="http://veritrope.com/tips/evernote-macjournal-export" >There are now <strong>two Evernote-to-MacJournal Exporter scripts</strong></a> included in the downloadable ZIP archive: One that attempts to preserve the formatting of the Evernote item by importing it into MacJournal as a Read-Only Web Archive formatted file, and another that will create an Editable RTF file that may not retain as much of the original formatting and/or embedded images. </p>
<p>I wrote the original script to convert the HTML files that Evernote exports into a slightly different format called a “Web Archive” which bundles in all of the embedded images and information so that the note will look the same inside of MacJournal. The only problem is that MacJournal doesn’t edit that format (yet). Dan Schimpf (the developer behind MacJournal) and I have been trading some emails about it and he is looking into some options to enable Web Archive editing within MacJournal. Until then (or until I can figure out a better way of doing it), you’ll have to use two different scripts depending upon if you want to edit the contents of the note inside of MacJournal right away.</p>
<h3>Macworld Reviews MacJournal 5</h3>
<p>In <a target="_blank" href="http://www.macworld.com/article/146160/2010/02/mcjour.html" >his review for Macworld</a>, William Porter gives MacJournal 5 a ranking of Four-And-A-Half Mice (Out Of Five).</p>
<h3>MacHeist?</h3>
<p>The teaser page for the <a target="_blank" href="http://macheist.com" >MacHeist bundle</a> is now live a few days before it goes on sale&#8230; and even though there&#8217;s been no official announcement, I couldn&#8217;t help but notice an icon on one of the boxes being loaded out of the truck!<br />
<a href="http://media.veritrope.com/wp-content/uploads/2010/02/macheist.png" ><img src="http://media.veritrope.com/wp-content/uploads/2010/02/macheist.png" alt="" title="macheist" width="119" height="83" class="aligncenter size-full wp-image-3759" /></a><br />
Anyone who has been waiting to pick up a copy of MacJournal should get their credit cards ready! <img src='http://veritrope.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/opinion/macjournal-news-updated-applescripts-macworld-review-and-macheist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEVONthink Pro 2 &#8212; Finally Released!</title>
		<link>http://veritrope.com/opinion/devonthink-pro-2-finally-released/</link>
		<comments>http://veritrope.com/opinion/devonthink-pro-2-finally-released/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 19:18:03 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Dan Byler]]></category>
		<category><![CDATA[DEVONthink]]></category>
		<category><![CDATA[Evernote]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3702</guid>
		<description><![CDATA[Congratulations to Eric and the gang at DEVONtechnologies for finally getting rid of those yellow "Beta Stripes"!]]></description>
			<content:encoded><![CDATA[<p><img src="http://media.veritrope.com/wp-content/uploads/2010/02/devon1.png" alt="" title="devon" width="293" height="280" class="alignleft size-full wp-image-3709" /></p>
<p>After a very extended beta period, <a target="_blank" href="http://www.devon-technologies.com/products/devonthink/index.html" >DEVONthink</a> has finally &#8220;come out of its shell&#8221; today with the final release of its 2.0 edition.  (Congratulations to Eric and the gang at DEVONtechnologies for finally getting rid of those yellow &#8220;Beta Stripes&#8221;!)</p>
<p>As part of their &#8220;virtual launch party&#8221;, <a target="_blank" href="http://www.devon-technologies.com/shop/promotions/launchparty_js.html" >DEVON is offering a 10% discount on the new edition for both new customers and upgraders</a> &#8212; which I think is the least they can do for auto-playing a Rod Stewart song on the page.  <img src='http://veritrope.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Questionable music choices aside &#8212; I also noticed that Dan Byler, the author of the <a target="_blank" href="http://bylr.net/3/2008/06/archive-newsfeeds-in-devonthink-pro-via-netnewswire/" >NetNewsWire-to-DEVONthink AppleScript</a>, wrote a <a target="_blank" href="http://bylr.net/3/2010/02/devonthink-the-research-assistant-youve-been-looking-for/" > review of DEVONthink Pro on his blog</a> which won him some swag.  Nice work, Dan!</p>
<p>One more bit of good news &#8212; <strong>the final release seems to have fixed the problem that Beta 8 created with the <a href="http://veritrope.com/tips/evernote-devonthink-export" >Evernote-to-DEVONthink AppleScript</a>.  Anyone who had trouble with the script recently should download the new version of DEVONthink and try again!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/opinion/devonthink-pro-2-finally-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Glitches with Snow Leopard, Exchange, and AppleScript?</title>
		<link>http://veritrope.com/tips/glitches-with-snow-leopard-exchange-and-applescript/</link>
		<comments>http://veritrope.com/tips/glitches-with-snow-leopard-exchange-and-applescript/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 01:49:41 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Ben Waldie]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Mail.app]]></category>
		<category><![CDATA[rules]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3670</guid>
		<description><![CDATA[Trouble with Mac OS X Snow Leopard and Exchange Using An AppleScript Rule Inside of Mail?  Here's the latest information!]]></description>
			<content:encoded><![CDATA[<p><span class="pullquote"><!--"The best laid schemes of mice and men, Go often askew, And leave us nothing but grief and pain, For promised joy!" - Robert Burns--></span><br />
<a target="_blank" href="http://forums.macrumors.com/showthread.php?t=866367" >There was a recent post on the the Mac Rumors Forum</a> with this AppleScript question:<br />
<blockquote><i>&#8220;I have a rule in Mail, which moves specific emails to a specific email folder&#8230;  Now I need an AppleScript to run in conjunction with the rule, which will save each email as a txt file in a folder on my desktop&#8230;. Can anyone suggest how I go about this?&#8221;</i> </p></blockquote>
<p>You remember that I whipped up <a href="http://veritrope.com/tips/export-apple-mail-messages-and-notes-to-text-files" >an Export Apple Mail Messages to Text Files script </a> just a few weeks ago that pretty much fits that description, right?  So I thought that, in the process of turning it into something that Apple Mail can use, I could do a little walk-through for you guys of how to write a script like this in the first place!</p>
<p>Easy, right?  A walk in the park. </p>
<p>HA!  <img src='http://veritrope.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  (And <em>how</em> does that Robert Burns poem go again?)</p>
<p><span id="more-3670"></span></p>
<h3>&#8220;Hmmph.  That&#8217;s weird.&#8221;</h3>
<p>After a short burst of hack-fu, I had a script that would work within Apple Mail&#8230;with one small caveat:  When selecting the message and applying the rule manually, everything worked&#8230; But when a message arrived on my Exchange email account and triggered the script by a rule, it exported the content of <strong><em>the previous message</em></strong> to the resulting text file.</p>
<p>Hmmph.  That&#8217;s weird.  &#8220;I must have made a mistake somewhere&#8230;&#8221;, I said to myself.</p>
<p>But no matter what I tried, it always exported the wrong file!  I called in the big guns for help with <a target="_blank" href="http://macscripter.net/viewtopic.php?id=32125" >this post on the MacScripter website</a>.  <a target="_blank" href="http://www.automatedworkflows.com/about/staff_bios/ben_waldie.html" >Ben Waldie</a> &#8212; a guru in AppleScript community and  <a target="_blank" href="http://www.amazon.com/gp/redirect.html?ie=UTF8&#038;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb%5Fsb%5Fnoss%26y%3D0%26field-keywords%3DBen%2520Waldie%26url%3Dsearch-alias%253Daps&#038;tag=veritrope-20&#038;linkCode=ur2&#038;camp=1789&#038;creative=390957" >author of many excellent books about Automator</a><img src="https://www.assoc-amazon.com/e/ir?t=veritrope-20&#038;l=ur2&#038;o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />&#8211; personally pitched in to try and sort this out&#8230;. sadly to no avail. (Thanks again, Ben!)</p>
<p>A quick search around reveals that this may not just be me: I saw this <a target="_blank" href="http://www.cupcakewithsprinkles.com/growl-notifications-for-apple-mail-on-mac-os-x-snow-leopard-10-6/" >Comment Thread</a> and also <a target="_blank" href="http://stackoverflow.com/questions/1597730/applescript-rule-action-appears-to-be-passed-the-wrong-message-in-apple-mail" >this post on stackoverflow</a>.</p>
<p>Is this a wide-spread bug with Apple Mail, Exchange, and AppleScript?  I&#8217;ve noticed a few other shall-we-say&#8230; <em>anomalies</em> with the way OS X works with Exchange &#8212; and I&#8217;m starting to wonder if this is another to add to the list.</p>
<h1>Anyone else have the same issue? Please post in the comments below!</h1>
<h3>A description of what you&#8217;ve found out would be great (especially if it solves the problem) &#8212; but even a &#8220;Me too!&#8221; is helpful. </h3>
]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/glitches-with-snow-leopard-exchange-and-applescript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Export Apple Mail Messages and Notes to Text Files</title>
		<link>http://veritrope.com/tips/export-apple-mail-messages-and-notes-to-text-files/</link>
		<comments>http://veritrope.com/tips/export-apple-mail-messages-and-notes-to-text-files/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 21:41:07 +0000</pubDate>
		<dc:creator>Justin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[Messages]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Text Files]]></category>

		<guid isPermaLink="false">http://veritrope.com/?p=3202</guid>
		<description><![CDATA[An AppleScript to Export Selected Apple Mail Messages and Notes to Individual Text Files.]]></description>
			<content:encoded><![CDATA[<p>I saw a Tweet from <a target="_blank" href="http://ukmac.net/" >Scott Paterson</a>, asking if there was an AppleScript to quickly batch export Notes from Apple Mail into individual text file.</p>
<p> Well Scott &#8212; If there wasn&#8217;t one before, there is now!</p>
<p><span id="more-3202"></span></p>
<h3>Features</h3>
<ul>
<li>This AppleScript will export any selected Messages or Notes in Apple Mail as individual text files to a temporary folder on your Desktop (called &#8220;Temp Export Folder&#8221;);</li>
<li>The script also attempts to remove any &#8220;illegal characters&#8221; from the file name as to avoid the process grinding to a complete halt!</li>
<li>If you have <a target="_blank" href="http://growl.info" >Growl</a> installed, the script should detect it and notify you when your export is completed.</li>
</ul>
<h3>Current Limitations and Open Issues</h3>
<p>(Otherwise known as &#8220;Places Where You Could Help Out!&#8221;)</p>
<ul>
<li>I kept the output very basic &#8212; only spitting out the content of the note/message as the content of the text file.  It *IS* possible to add more information from the messages and, if people are interested in that, let me know!</li>
<li>Errors that will undoubtedly arise when you do something that I didn&#8217;t think of or test for!  <img src='http://veritrope.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
<h3>How to Install and Use</h3>
<p>First, select the messages or notes in Apple Mail.</p>
<p>Then just run the script&#8230; either:</p>
<ol>
<li>Manually;</li>
<li>By using Snow Leopard&#8217;s &#8220;Keyboard Shortcuts&#8221;, or;</li>
<li>By using <a target="_blank" href="http://www.red-sweater.com/fastscripts/" >FastScripts</a></li>
</ol>
<h3>Source Code and Download Link on the next page!</h3>
]]></content:encoded>
			<wfw:commentRss>http://veritrope.com/tips/export-apple-mail-messages-and-notes-to-text-files/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: veritrope.com @ 2010-08-01 04:48:04 -->