Photos Actions

Table of contents

  1. Create Album
  2. Delete Photos
  3. Get Last Import
  4. Get Latest Bursts
  5. Get Latest Live Photos
  6. Get Latest Photos
  7. Get Latest Screenshots
  8. Get Latest Videos
  9. Remove Photo from Album
  10. Rename Album
  11. Save Photo to Album
  12. Search Photos
  13. Select Photos

To use actions in this category, use this include statement:

#include 'actions/photos'

Create Album

createAlbum(text name, variable ?images)

Delete Photos

deletePhotos(variable photos)

Get Last Import

getLastImport()

Get Latest Bursts

getLatestBursts(number count)

Get Latest Live Photos

getLatestLivePhotos(number count)

Get Latest Photos

getLatestPhotos(number count, bool ?includeScreenshots = true)

Get Latest Screenshots

getLatestScreenshots(number count)

Get Latest Videos

getLatestVideos(number count)

Remove Photo from Album

removeFromAlbum(variable photo, text album)

Rename Album

renameAlbum(variable album, text newTitle)

Save Photo to Album

savePhoto(variable image, text ?album = "Recents")

Search Photos

searchPhotos(text criteria): array

Select Photos

Prompt the user to select from their photo library.

selectPhotos(bool ?selectMultiple = false)

Copyright ©. Distributed under the GPL-2.0 License. Siri Shortcuts and Mac are registered trademarks of Apple Inc. Apple is not involved in this project in any way. Do not contact Apple Support unless you are having an issue with the Shortcuts app itself.