ShareShortcuts

Photos taken by iPhone camera

This will filter and save photos taken by iPhone camera to one album

forevern00b
„Photos taken by iPhone camera“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit forevern00b die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
60K
Gesichert
1
Aktionen
24
Kategorie
Photos and videos
Version
1.0
Sprache
EN

This will filter and save photos taken by iPhone camera to one album.

  1. Create new album in photos.
  2. Enter Album name
  3. Chose bteween filtring selection or All photos
  4. Wait this maight take some time
  5. Go to photos and check the album

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 24. Apr 2020

First release

Was er macht

24 Aktionen
  1. Show Alert
  2. Ask for Input
    What is the Album name?
  3. If
  4. Show Alert
  5. If
  6. Choose from Menu
  7. Choose from Menu
    Select Photos
  8. Select Photos
  9. Repeat with Each
  10. Get Details of Images
  11. Set Variable
    A
  12. Get Details of Images
  13. If
  14. Save to Photo Album
  15. If
  16. Choose from Menu
    All Photos
  17. Find Photos
  18. Repeat with Each
  19. Get Details of Images
  20. Set Variable
    B
  21. If
  22. Save to Photo Album
  23. If
  24. Show Alert

Als Code ansehen
Beta

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

Alle anzeigen
Werbung