Photos taken by iPhone camera
This will filter and save photos taken by iPhone camera to one album
forevern00bMit dem iPhone scannen, um zu installieren
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
Neue Funktionen
Version 1.0
First release
Was er macht
24 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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!")
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Das gefällt dir vielleicht auch
Werbung