Photos taken by iPhone camera
This will filter and save photos taken by iPhone camera to one album
forevern00bScan med din iPhone for at installere
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
Nyheder
Version 1.0
First release
Hvad den gør
24 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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!")
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Du vil måske også kunne lide
Annonce