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.
Neue Funktionen
Version 1.0
First release
Was er macht
17 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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)
}
}
}
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
Mehr von te55eract
Das gefällt dir vielleicht auch
Werbung