ShareShortcuts
Fazer fork de “Organize Photos”

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 boyvanamstel 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
61K
Salvo
6
Ações
11
Categoria
Photos and videos
Versão
1.1
Idioma
EN

Pré-visualização

This Shortcut shows you just the photos that were added after the last time you organized your library. Relies on Data Jar to store the date.

I often take pictures that I then add to (shared) albums. Figuring out where I left off the last time is time consuming. The Organize Photos Shortcut makes it easy.

Setup:

  1. Install Data Jar.
  2. Add a new variable in Data Jar.
  3. Set its Key to organizePhotosTimestamp.
  4. Set its type to Number.
  5. Set the value to 0.

You're now ready to run the Shortcut for the first time.

I recommend starting with a clean slate (after organizing your photos), because the first time you'll run the Shortcut it'll show all your recent photos. Confirm you want to update the last organize date.

Take a few photos, run the Shortcut again and notice that it only shows these most recent pictures.

Novidades

Versão 1.1

Fix epoch time by starting at midnight instead of noon.

Histórico de versões
1.1 20 de abr de 2020

Fix epoch time by starting at midnight instead of noon.

1.0 19 de abr de 2020

First release

O que ele faz

11 ações
  1. Get Value
    dk.simonbs.DataJar
  2. Date
  3. Adjust Date
  4. Format Date
  5. Find Photos
  6. Choose from List
  7. Share
  8. Show Alert
    Organize Photos
  9. Date
  10. Get Time Between Dates
  11. Set Value
    dk.simonbs.DataJar

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.

#define color blue
#define glyph camera

rawAction("dk.simonbs.DataJar.GetValueIntent", {
	"keyPath": "organizePhotosTimestamp"
})
currentDate()
adjustDate(, "")
const FormattedDate = formatDate()
rawAction("is.workflow.actions.filter.photos", {
	"WFContentItemFilter": "",
	"WFContentItemInputParameter": "FormattedDate",
	"WFContentItemLimitEnabled": false,
	"WFContentItemSortOrder": "Oldest First",
	"WFContentItemSortProperty": "Creation Date"
})
const ChosenItem = chooseFromList(Photos, true)
share(ChosenItem)
alert("Update last organize date?", "Organize Photos")
currentDate()
rawAction("is.workflow.actions.gettimebetweendates", {
	"WFInput": "{}",
	"WFTimeUntilFromDate": "1 Jan, 1970 0:00",
	"WFTimeUntilUnit": "Seconds"
})
rawAction("dk.simonbs.DataJar.SetValueIntent", {
	"keyPath": "organizePhotosTimestamp",
	"values": "TimeBetweenDates"
})
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