ShareShortcuts

Organize Photos

boyvanamstel
Dupliquer « Organize Photos »

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 boyvanamstel 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
61K
Enregistré
6
Actions
11
Catégorie
Photos and videos
Version
1.1
Langue
EN

Aperçu

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.

Nouveautés

Version 1.1

Fix epoch time by starting at midnight instead of noon.

Historique des versions
1.1 20 avr. 2020

Fix epoch time by starting at midnight instead of noon.

1.0 19 avr. 2020

First release

Ce qu’il fait

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

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.

#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"
})
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é