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:
- Install Data Jar.
- Add a new variable in Data Jar.
- Set its Key to organizePhotosTimestamp.
- Set its type to Number.
- 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
Fix epoch time by starting at midnight instead of noon.
Hvad den gør
11 handlinger-
Get Valuedk.simonbs.DataJar
-
Date
-
Adjust Date
-
Format Date
-
Find Photos
-
Choose from List
-
Share
-
Show AlertOrganize Photos
-
Date
-
Get Time Between Dates
-
Set Valuedk.simonbs.DataJar
Vis som kode
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"
})
Bedømmelser og anmeldelser
Skriv en anmeldelseIngen anmeldelser endnu. Vær den første!