ShareShortcuts
„Organize Photos“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit boyvanamstel die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
61K
Gesichert
6
Aktionen
11
Kategorie
Photos and videos
Version
1.1
Sprache
EN

Vorschau

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.

Neue Funktionen

Version 1.1

Fix epoch time by starting at midnight instead of noon.

Versionsverlauf
1.1 20. Apr 2020

Fix epoch time by starting at midnight instead of noon.

1.0 19. Apr 2020

First release

Was er macht

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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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"
})
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung