photos-automation-banner
•
OS X AUTOMATION
AUTOMATOR
IWORK AUTOMATION
•

Getting Album Contents

A common workflow for Photos involves the processing of media items in one or more specified albums. The following actions can be used to return references to the media items contained by an album.

Getting the Contents of the Favorites Album

The result of this action is a list of references to the media items contained in the Favorites Album.

Getting the Contents of the Last Import Album

The result of this action is a list of references to the media items contained in the Last Import Album.

Getting an Album by Name

This action will return references to the top-level albums whose name matches the specified parameter.

NOTE: By default, the result of the “Get Album by Name” action is a reference to one or more Photos album objects. However, if this action is followed by an action, such as one of the Export actions, that requires Photos media items as input, a built-in conversion action will extract and return references to all of the media items contained by the found albums.

Use in Workflow

Here’s a simple workflow that will create a new slide in Keynote for each of the media items contained in the Favorites Album.

NEXT TOPIC: Add to Albums

TOPICS

  • Overview
  • Automator Quick-Start

  • Selection & Content
  • Current Selection
  • Choosing an Image
  • Get Album Contents
  • Add to Albums
  • Importing Media Items
  • Exporting Media Items
  • Metadata
  • Slideshow Actions

  • Scripting Overview

  • Workflow Recipes
  • Dictation Commands

DISCLAIMER

THIS WEBSITE IS NOT HOSTED BY APPLE INC.

Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. PHOTOSAUTOMATION.COM assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. PHOTOSAUTOMATION.COM provides this only as a convenience to our users. PHOTOSAUTOMATION.COM has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and PHOTOSAUTOMATION.COM assumes no responsibility in this regard. Please understand that a third-party site is independent from PHOTOSAUTOMATION.COM and that PHOTOSAUTOMATION.COM has no control over the content on that website. Please contact the vendor for additional information.