Geek Posted February 11, 2012 Posted February 11, 2012 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2012/02/save-photo-stream-images-mac.jpg" alt="Save Photo Stream Images to a folder in Mac OS X" title="save-photo-stream-images-mac" width="620" height="299" class="aligncenter size-full wp-image-27115" /></p> <p>Photo Stream is a nice feature of iCloud that pushes all of your pictures automatically to your other iOS devices and your Mac with iPhoto or Aperture. If you haven’t used it before, this means if you take a picture on your iPhone, it will automatically show up in the Photo Stream on your iPad, and also in iPhoto on your Mac. Oddly, there isn’t an option to choose a destination other than iPhoto or Aperture in Mac OS X though, but this cool trick allows you to specify a folder and then download all the images from iCloud to your Mac, without using iPhoto or Aperture.</p> <p>In order to use the following script, you will need iOS 5 and OS X 10.7.2 or later, as well as <a href="http://osxdaily.com/2011/10/12/how-to-setup-icloud/">iCloud set up and configured</a> and the Photo Stream option enabled in Mac OS X’s iCloud System Preferences.</p> <h2 style="font-size:1.2em;">Save Photo Stream Images to a Folder in Mac OS X</h2> <ul> <li>Open AppleScript Editor, found at /Applications/Utilities/AppleScript Editor.app</li> <li>In a new blank AppleScript window, paste in the following code, replacing “USERNAME” with the short user name of your Mac OS X home directory:</li> <p><code>tell application "Finder" set this_folder to "Macintosh HD:Users:USERNAME:Library:Application Support:iLifeAssetManagement:assets" as alias set target_folder to "Macintosh HD:Users:USERNAME:Pictures:MyStream" as alias try duplicate (every file of the entire contents of this_folder whose name contains "IMG") to the target_folder with replacing end try end tell</code></p> <li>This will look something like this in the AppleScript editor:</li> </ul> <p><img src="http://osxdaily.com/wp-content/uploads/2012/02/download-photo-stream-images-script.jpg" alt="Download Photo Stream Images to a Folder in Mac OS X with an AppleScript" title="download-photo-stream-images-script" width="596" height="294" class="aligncenter size-full wp-image-27125" /></p> <ul> <li>Adjust the target_folder variables as appropriate – Change “Macintosh HD” if your hard drive is named something else, and change “MyStream” if you want the final directory to be something other than that name located in the user Pictures directory – remember with AppleScript, rather than slashes the colon is used instead to type and show file and folder paths</li> <li>Run the script to verify that it works and then save the script with an appropriate name like “PhotoStreamDownloader”, and select “Application” as the file format for easy access and launching later</li> </ul> <p>Now anytime you want to download your Photo Stream to your Mac, just launch that saved script app and you will grab your latest Photo Stream images to the configure directory in Mac OS X. For best results, place the application into your /Applications directory and add it to Launchpad for easy future use.</p> <p>AppleScript Editor is fairly intuitive, and if you entered a directory or path wrong when you attempt to run the script it will let you know with an “AppleScript Error” message. If you get a “iLifeAssetManagement:assets wasn’t found” message, then you haven’t enabled Photo Stream in iCloud’s System Preference panel. </p> <p>Hopefully a future update to iCloud and Photo Stream will allow us to choose an image download destination directly, but until then this great trick from <a href="http://www.idownloadblog.com/2012/02/11/save-photo-stream-images/">iDownloadblog</a> works just fine.</p> <p>Like this? Check out some <a href="http://osxdaily.com/tag/icloud/">more iCloud tips</a>.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/T-xrhdMjljHh19OS0-jN__heIq0/0/da"><img src="http://feedads.g.doubleclick.net/~a/T-xrhdMjljHh19OS0-jN__heIq0/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/T-xrhdMjljHh19OS0-jN__heIq0/1/da"><img src="http://feedads.g.doubleclick.net/~a/T-xrhdMjljHh19OS0-jN__heIq0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=Ctw7WjHKOP0:bB5DxiEI2pg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=Ctw7WjHKOP0:bB5DxiEI2pg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=Ctw7WjHKOP0:bB5DxiEI2pg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=Ctw7WjHKOP0:bB5DxiEI2pg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=Ctw7WjHKOP0:bB5DxiEI2pg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=Ctw7WjHKOP0:bB5DxiEI2pg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=Ctw7WjHKOP0:bB5DxiEI2pg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/Ctw7WjHKOP0" height="1" width="1"/> View the full article
Recommended Posts