<?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>kenclark.me &#187; dropbox</title>
	<atom:link href="http://kenclark.me/tag/dropbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://kenclark.me</link>
	<description>A weblog by Ken Clark about technology, e-books, and all things Apple.</description>
	<lastBuildDate>Thu, 29 Jul 2010 11:40:12 +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='kenclark.me' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Use Dropbox to Create a Yojimbo iPhone App</title>
		<link>http://kenclark.me/2009/10/use-dropbox-to-create-a-yojimbo-iphone-app/</link>
		<comments>http://kenclark.me/2009/10/use-dropbox-to-create-a-yojimbo-iphone-app/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 10:49:20 +0000</pubDate>
		<dc:creator>Ken Clark</dc:creator>
				<category><![CDATA[All About Apple]]></category>
		<category><![CDATA[Mac OS X Automation]]></category>
		<category><![CDATA[Working Smart]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[folder action]]></category>
		<category><![CDATA[yojimbo]]></category>

		<guid isPermaLink="false">http://www.kenclarksblog.com/?p=1000</guid>
		<description><![CDATA[This morning I read that DropBox announced their new iPhone app, and it occurred to me that you could set up the Dropbox iPhone app to clip images directly into Yojimbo with very minimal effort.  I was so pumped.  The lack of an iPhone app for Yojimbo was the reason I started using Evernote, so this was a total game changer]]></description>
			<content:encoded><![CDATA[<p></p><p>Yesterday I read that <a title="Dropbox Announces iPhone App" href="http://www.getdropbox.com/iphoneapp" target="_blank">DropBox announced their new iPhone app</a>, and it occurred to me that you could set up the Dropbox iPhone app to clip images directly into Yojimbo with very minimal effort.  I was so pumped.  This was a total game changer.</p>
<p>Here&#8217;s how to do it:</p>
<p>(Note:  I&#8217;m assuming that you have Yojimbo installed on your Mac and Dropbox installed on both your iPhone and Mac.  If not, download Dropbox <a title="DropBox" href="http://getdropbox.com" target="_blank">here</a> and Yojimbo <a title="Yojimbo" href="http://barebones.com/products/yojimbo/" target="_blank">here</a>.)</p>
<p>1. On your Mac, create a new folder called &#8220;Clip to Yojimbo&#8221; in your Dropbox folder:</p>
<p><img class="aligncenter size-full wp-image-1001" title="Clip to Yojimbo Folder in Dropbox" src="http://www.kenclarksblog.com/wp-content/uploads/2009/09/clip-to-yojimbo-folder-in-dropbox.png" alt="Clip to Yojimbo Folder in Dropbox" width="450" height="254" /></p>
<p>2.  Copy and past the below code into Script Editor.  This will become a folder action that runs anytime a file is added to the &#8220;Clip to Yojimbo&#8221; folder (note: you will have to <a title="Enable Folder Actions" href="http://www.simplehelp.net/2007/01/30/folder-actions-for-os-x-explained-with-real-world-examples/" target="_self">enable folder actions</a> if they are not already set up).  Save the script to your Mac&#8217;s Library/Scripts/Folder Actions folder as &#8220;import to Yojimbo&#8221; or whatever name you like.</p>
<pre>on adding folder items to this_folder after receiving these_items
	repeat with x from 1 to the count of these_items
		set theFile to item x of these_items
		try
			tell application "Yojimbo"
				import theFile
			end tell
		end try
	end repeat
end adding folder items to</pre>
<p>Note for Scripters:  You can certainly get a little fancier with the Applescript, i.e. move the picture to an archive folder after the import is complete, etc. but this is all you need to get the basic import done.</p>
<p>3.  Assign the &#8220;import to Yojimbo&#8221; folder action to the &#8220;Clip to Yojimbo&#8221; folder.</p>
<p><img class="aligncenter size-full wp-image-1002" title="Assign Yojimbo Folder Action" src="http://www.kenclarksblog.com/wp-content/uploads/2009/09/assign-yojimbo-folder-action.png" alt="Assign Yojimbo Folder Action" width="482" height="384" /></p>
<p>4. That&#8217;s it.  Now it is time to test it out.  Go to your iPhone, go to DropBox and navigate to the &#8220;Clip to Yojimbo&#8221; folder.  Take a picture.</p>
<p><img class="aligncenter size-full wp-image-1003" title="Clip A Photo With Dropbox on the iPhone" src="http://www.kenclarksblog.com/wp-content/uploads/2009/09/clip-photo-dropbox-iphone.jpg" alt="Clip A Photo With Dropbox on the iPhone" width="320" height="480" /></p>
<p>5.  If you are at your Mac, you will see the picture almost immediately show up in the Dropbox folder.</p>
<p><img class="aligncenter size-full wp-image-1005" title="Clip to Yojimbo Folder with New Items" src="http://www.kenclarksblog.com/wp-content/uploads/2009/09/clip-to-yojimbo-with-items.png" alt="Clip to Yojimbo Folder with New Items" width="437" height="316" /></p>
<p>6.  A couple seconds later, it will import right into Yojimbo.</p>
<p><img class="aligncenter size-full wp-image-1006" title="Succesful File Import into Yojimbo" src="http://www.kenclarksblog.com/wp-content/uploads/2009/09/files-imported-into-yojimbo.png" alt="Succesful File Import into Yojimbo" width="447" height="202" /></p>
<p>You&#8217;re done.  Pretty cool, right?  You can watch the whole process happen in real time on your Mac if you have the Finder open to the &#8220;Clip to Yojimbo&#8221; folder alongside an open Yojimbo window.  It is almost instantaneous.  The lack of an iPhone app for Yojimbo was the reason <a title="Evernote or Yojimbo?" href="evernote-or-yojimbo-finding-the-right-bucket-for-my-stuff/" target="_self">I started using Evernote</a>, so this is pretty exciting.   It probably just swung my decision pendulum back to using Yojimbo.</p>
]]></content:encoded>
			<wfw:commentRss>http://kenclark.me/2009/10/use-dropbox-to-create-a-yojimbo-iphone-app/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
