ShareShortcuts

Total Amount of Screen Time (PREVIEW)

coltensus
„Total Amount of Screen Time (PREVIEW)“ 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 coltensus 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
10K
Gesichert
0
Aktionen
29
Kategorie
Utilities
Version
1.0
Sprache
EN

The official Apple Shortcut to view your total amount of screen time and make shortcuts with This one is just to preview it, so please use the DEV versions of this shortcut to make apple shortcuts with it

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 15. Nov 2025

First release

Was er macht

29 Aktionen
  1. Get Website & App Activity
    com.apple.intelligenceplatform.IntelligencePlatform.IntelligencePlatformDataActionsAppIntentsExtension
  2. Text
  3. Split Text
  4. Calculate Statistics
  5. Split Text
  6. Get Item from List
  7. Text
  8. Get Item from List
  9. Text
  10. Calculate
  11. Text
  12. Split Text
  13. Get Item from List
  14. Text
  15. Get Item from List
  16. Text
  17. Calculate
  18. Round Number
  19. Text
  20. Text
  21. Choose from Menu
    Preview Options (…)
  22. Choose from Menu
    Show Content (Small Popup)
  23. Show Result
  24. Choose from Menu
    Quick Look (Full Screen Popup)
  25. Quick Look
  26. Choose from Menu
    Rerun Shortcut
  27. Run Shortcut
    Run Script 4
  28. Choose from Menu
    Exit
  29. Stop This Shortcut

Als Code ansehen
Beta

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

#include 'actions/math'
#include 'actions/device'
#define color lightblue
#define glyph hourglass

getDeviceUsage("all", "today")
const Text = "{['totalDuration']}"
const SplitText = splitText(Text, "
")
const Sum = statistic("Sum", nil)
const SplitText1 = splitText(Sum, ".")
getListItem(SplitText1, 0)
getLastItem(SplitText1)
const Text1 = "0.{}"
const Text2 = "{}"
const SplitText2 = splitText(Text2, ".")
getFirstItem(SplitText2)
getLastItem(SplitText2)
const Text3 = "0.{}"
const CalculationResult = Text3 * 60
round(CalculationResult)
const Text4 = "{} {} {}"

menu "Preview Options ({Text4})" {
item "Show Content (Small Popup)":
	show(Text4)
item "Quick Look (Full Screen Popup)":
	quicklook(Text4)
item "Rerun Shortcut":
	runSelf()
item "Exit":
	stop()
}
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

Mehr von coltensus

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung