ShareShortcuts

Photos taken by iPhone camera

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

forevern00b
Dupliquer « Photos taken by iPhone camera »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que forevern00b soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
60K
Enregistré
1
Actions
24
Catégorie
Photos and videos
Version
1.0
Langue
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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 24 avr. 2020

First release

Ce qu’il fait

24 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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!")
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Ça pourrait aussi te plaire

Tout afficher
Publicité