ShareShortcuts

Photos taken by iPhone camera

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

forevern00b
Fazer fork de “Photos taken by iPhone camera”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que forevern00b receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
60K
Salvo
1
Ações
24
Categoria
Photos and videos
Versão
1.0
Idioma
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

Novidades

Versão 1.0

First release

Histórico de versões
1.0 24 de abr de 2020

First release

O que ele faz

24 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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!")
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Você também pode gostar

Ver tudo
Publicidade