ShareShortcuts

Photos taken by iPhone camera

This will filter and save photos taken by iPhone camera to one album

forevern00b
Fork “Photos taken by iPhone camera”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so forevern00b gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
60K
Saved
1
Actions
24
Category
Photos and videos
Version
1.0
Language
EN

This will filter and save photos taken by iPhone camera to one album.

  1. Create new album in photos.
  2. Enter Album name
  3. Chose bteween filtring selection or All photos
  4. Wait this maight take some time
  5. Go to photos and check the album

What's New

Version 1.0

First release

Version History
1.0 Apr 24, 2020

First release

What it does

24 actions
  1. Show Alert
  2. Ask for Input
    What is the Album name?
  3. If
  4. Show Alert
  5. If
  6. Choose from Menu
  7. Choose from Menu
    Select Photos
  8. Select Photos
  9. Repeat with Each
  10. Get Details of Images
  11. Set Variable
    A
  12. Get Details of Images
  13. If
  14. Save to Photo Album
  15. If
  16. Choose from Menu
    All Photos
  17. Find Photos
  18. Repeat with Each
  19. Get Details of Images
  20. Set Variable
    B
  21. If
  22. Save to Photo Album
  23. If
  24. Show Alert

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/photos'
#define color teal
#define glyph camera

alert("This will filter and save photos taken by iPhone camera to One album\n1. Create new album in photos.\n2. Enter Album name\n3. Chose bteween filtring selection or  All photos\n5. Wait this maight take some time \n6. Go to photos and check the album ", "")
const ProvidedInput = prompt("What is the Album name? ")

if ProvidedInput == "Recent" {
	confirm("Albom name can't be 'Recent'")
} else {
	menu nil {
	item "Select Photos":
		const Photos = selectPhotos(true)
		for _ in Photos {
			getImageDetail(@RepeatItem, "Camera Make")
			@A
			getImageDetail(@RepeatItem, "Album")
			if @A == "Apple" {
				savePhoto(@RepeatItem, ProvidedInput)
			} else {
			}
		}
	item "All Photos":
		rawAction("is.workflow.actions.filter.photos", {
			"WFContentItemFilter": ""
		})
		for _ in Photos1 {
			getImageDetail(@RepeatItem, "Camera Make")
			@B
			if @B == "Apple" {
				savePhoto(@RepeatItem, ProvidedInput)
			} else {
			}
		}
	}
}
confirm("Done!")
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement