Q: How can I identify which albums photos are assigned to in Photos.
When I view a photo in the Photos stack or in any album, I would like to be able to identify the albums it has been assigned. Does anyone know how to do that? Please understand that I know how to use a smart album to find Unassigned photos, but how to you find albums assigned to photos?
And explanation as to why: It's a very important tool for me to remain consistent in 'filing' photos away and being able to verify they have been filed properly. And it might be a surprise to Apple, but I do not think in terms of date/time/gps when using my photos program. Those are meaningless delineations to me, although they can be useful flags for secondary info in the metadata. Many photos over the years were and still are received via mail or scanned and do not have an appropriate date or gps location attached. Faces is useful, but viewing 5k pictures of 'mom' without knowing which album they are in, is not helpful.
iMac, OS X El Capitan (10.11), 3.1Ghz i7; 8GBRam;TmeCap;iPad/Phone
Posted on Jan 8, 2016 11:21 AM
Hello,
socraties wrote:
Would it work to program an Apple Script, then insert it in the contextual menu so that I can select any picture and run the script? If so it would be a great workaround!!! Do you think there may be an automator or Apple script out there that already exists? I'm hopeful.
This AppleScript show the name of albums which contains the selected photo:
tell application "Photos"
set sel to selection
if sel is {} then return -- no selection
set thisId to id of item 1 of sel
set theseNames to name of (albums whose id of media items contains thisId)
end tell
if theseNames is not {} then
set {oTid, text item delimiters} to {text item delimiters, return}
set {t, text item delimiters} to {theseNames as string, oTid}
else
set t to "No album"
end if
activate
display dialog t buttons {"OK"} default button "OK" -- you can press the Enter key or the return Key to close the dialog
You can run this AppleScript from an Automator's service, and you can assign a shortcut to this service.
Or, you can run this AppleScript from some third party utilities (some free) which run (shell script, AppleScript script or javascript), and you can assign a shortcut to this action
Posted on Jan 8, 2016 8:37 PM





