Photos taken by iPhone camera
This will filter and save photos taken by iPhone camera to one album
forevern00bScan with your iPhone to install
This will filter and save photos taken by iPhone camera to one album.
- Create new album in photos.
- Enter Album name
- Chose bteween filtring selection or All photos
- Wait this maight take some time
- Go to photos and check the album
What's New
Version 1.0
First release
What it does
24 actions-
Show Alert
-
Ask for InputWhat is the Album name?
-
If
-
Show Alert
-
If
-
Choose from Menu
-
Choose from MenuSelect Photos
-
Select Photos
-
Repeat with Each
-
Get Details of Images
-
Set VariableA
-
Get Details of Images
-
If
-
Save to Photo Album
-
If
-
Choose from MenuAll Photos
-
Find Photos
-
Repeat with Each
-
Get Details of Images
-
Set VariableB
-
If
-
Save to Photo Album
-
If
-
Show Alert
View as code
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
Advertisement