Tutorial: Transfer photos from Photostream to Mac

  In iOS 5, Apple implemented for the first time the PhotoStream function that allows iDevice owners to transfer photos taken on their own device to any Mac or iDevice without much effort. If in iDevices the pictures appear in the Camera Roll, in Macs we have to use the iPhoto application to see the pictures in Photostream. As not everyone is happy with the iPhoto application, it appeared now a method through which all the photos taken in PhotoStream can be automatically copied to a certain folder in Mac OS X Lion. These photos are anyway synchronized with your Mac if you log in to iCloud on it and have iPhoto installed, but that folder is hidden in the system files of Mac OS X.

  First, make sure you've logged in to iCloud in System Preferences, then go to Applications>Utilities and open the AppleScript Editor, where you'll enter the text below:

tell application "Finder"
set this_folder to "Macintosh HD:Users:duittenb:Library:Application
Support:iLifeAssetManagement:assets" as alias
set target_folder to "Macintosh HD:Users:user:Pictures:MyStream" I would 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

  After copying the text in AppleScript Editor, modify the line set target_folder with the location of the folder where you want the pictures to be copied and press Run. Everything works only if you have the iPhoto application installed on your Mac.