Page 1 of 1

Auto import Dropbox to new OS X photos?

PostPosted: Thu Apr 09, 2015 12:28 pm
by cdavis
Anyone had success with this in either the beta or recent release or do we know if there is a new Hazel action on the way to accomplish this?

Re: Auto import Dropbox to new OS X photos?

PostPosted: Fri Apr 10, 2015 11:32 am
by Mr_Noodle
Support for Photos is being worked on. I suggest keeping an eye on the beta forums should I decide to open it up for testing.

Re: Auto import Dropbox to new OS X photos?

PostPosted: Sat Apr 11, 2015 12:08 pm
by cdavis
Thanks.

Just as a heads up for all - scripting is supported in photos. I dug through the scripting libraries and found that the basic import commands are there with support for duplicates and importing to specific albums.

I used that with a hazel wrap around and was able to set up auto-import to photos from my dropbox camera folder with no trouble at all.

Works well so far.

Re: Auto import Dropbox to new OS X photos?

PostPosted: Sun Apr 12, 2015 10:15 am
by chrish
cdavis wrote:Thanks.

Just as a heads up for all - scripting is supported in photos. I dug through the scripting libraries and found that the basic import commands are there with support for duplicates and importing to specific albums.

I used that with a hazel wrap around and was able to set up auto-import to photos from my dropbox camera folder with no trouble at all.

Works well so far.


Would you mind sharing your script for this? Thanks!

Re: Auto import Dropbox to new OS X photos?

PostPosted: Sun Apr 12, 2015 11:39 am
by cdavis
Absolutely -

on hazelProcessFile(theFile)


tell application "Photos"
activate
import (theFile)
end tell


end hazelProcessFile

Re: Auto import Dropbox to new OS X photos?

PostPosted: Mon Apr 13, 2015 11:17 am
by Mr_Noodle
Note that that will import it into your library but not into any album. Photos support is a bit lacking compared to iPhoto and Aperture so you have to do a bit more navigation to find your album.

BTW, if you are interested in testing Photos support, please email support as I'm about ready to do a private beta.