Q: automator: import to specific photo album in photos
Hi, I want automator to import into a specific sub-level photo album. Automator only lets me choose the top-level albums, but not the ones inside folders.
But Hazel can do this, however, I want to do this in automator to write a little program that accepts photos and imports them into a specific album in a folder in photos.
Anyone an idea?
thanks a lot.
I am using El Capitan.
Posted on Oct 8, 2015 2:44 PM
Hi,
It's possible with an AppleScript, but the album's name must be unique.
Remove the "Import ..." action in your workflow
Add the "Run AppleScript" action, clear the default text, copy/paste this script:
on run {input, parameters}
tell application "Photos"
set thisAlbum to album "some album Name"
import input into thisAlbum without skip check duplicates -- or --> with skip check duplicates
end tell
return input
end run
Change the album's name in the script.
---
If the album's name is not unique, you can specify an album with his parent folder, like this :
set thisAlbum to album "some album name" of folder "some SubFolder name" of folder "some Master name"
Posted on Oct 10, 2015 12:52 PM