Photos taken by iPhone camera
This will filter and save photos taken by iPhone camera to one album
forevern00bScanne avec ton iPhone pour installer
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
Nouveautés
Version 1.0
First release
Ce qu’il fait
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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!")
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité