Photos taken by iPhone camera
This will filter and save photos taken by iPhone camera to one album
forevern00bОтсканируй на iPhone, чтобы установить
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
Что нового
Версия 1.0
First release
Что делает
Действий: 24-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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!")
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама