A photo management utility that lets you batch add photos to multiple specific albums at once.
It also features a "Dealbumate" toggle, allowing you to batch remove selected photos from albums just as easily.
Works via the Share Sheet or as a standalone app.
What's New
Version 1.0
First release
What it does
17 actions-
CommentBatch add or remove photos from predetermined albums. Enter the names of the albums you want to be able to choose from to the ↓dictionary↓. The Dealbumate option at the bottom toggles the remove function. the rest of the entries are up for grabs. Ma…
-
Set VariablePhotos
-
Dictionary
-
If
-
Select Photos
-
Set VariablePhotos
-
Choose from List
-
Get Text from Input
-
If
-
Repeat with Each
-
Remove Photo from Album
-
Save to Photo Album
-
If
-
Repeat with Each
-
Get Text from Input
-
If
-
Remove Photo from Album
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/text'
#include 'actions/photos'
#define color red
#define glyph photoStack
/*
Batch add or remove photos from predetermined albums.
Enter the names of the albums you want to be able to choose from to the ↓dictionary↓. The Dealbumate option at the bottom toggles the remove function. the rest of the entries are up for grabs.
Make sure the key matches the exact album's name.
Features:
⁃ Add to multiple albums at once
⁃ remove from multiple albums at once
⁃ Select Dealbumate at the same time as the albums to remove the selected photos from the selected albums.
*/
@Photos = ShortcutInput
const Dictionary = {
"Album name 1": "album name 1",
"Album name 2": "Album name 2",
"Album name 3": "Album name 3",
"Dealbumate": "Dealbumate"
}
if !@Photos {
selectPhotos(true)
@Photos
}
const SelectedAlbums = chooseFromList(Dictionary, "Save Album", true)
const Text = getText(SelectedAlbums)
if Text !contains "Dealbumate" {
for _ in SelectedAlbums {
removeFromAlbum(@Photos, @RepeatItem)
savePhoto(@Photos, @RepeatItem)
}
} else {
for _ in SelectedAlbums {
const Text1 = getText(@RepeatItem)
if Text1 !contains "Dealbumate" {
removeFromAlbum(@Photos, @RepeatItem)
}
}
}
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
More by te55eract
You Might Also Like
Advertisement