ShareShortcuts
Fork “Organize Photos”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så boyvanamstel får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
61K
Gemt
6
Handlinger
11
Kategori
Foto og video
Version
1.1
Sprog
EN

Forhåndsvisning

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.

Nyheder

Version 1.1

Fix epoch time by starting at midnight instead of noon.

Versionshistorik
1.1 20. apr. 2020

Fix epoch time by starting at midnight instead of noon.

1.0 19. apr. 2020

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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"
})
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Du vil måske også kunne lide

Se alle
Annonce