Scanne avec ton iPhone pour installer
The official Apple Shortcut to view your total amount of screen time and make shortcuts with
Use this one to make shortcuts with it
Nouveautés
Version 1.0
First release
Ce qu’il fait
19 actions-
Text
-
Split Text
-
Calculate Statistics
-
Split Text
-
Get Item from List
-
Text
-
Get Item from List
-
Text
-
Calculate
-
Text
-
Split Text
-
Get Item from List
-
Text
-
Get Item from List
-
Text
-
Calculate
-
Round Number
-
Text
-
Text
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/math'
#define color lightblue
#define glyph hourglass
const Text = "{ShortcutInput}"
const SplitText = splitText(Text, "
")
const Sum = statistic("Sum", nil)
const SplitText1 = splitText(Sum, ".")
getLastItem(SplitText1)
getLastItem(SplitText1)
const Text1 = "0.{}"
const Text2 = "{}"
const SplitText2 = splitText(Text2, ".")
getRandomItem(SplitText2)
getLastItem(SplitText2)
const Text3 = "0.{}"
const CalculationResult = Text3 * 60
round(CalculationResult)
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é
Plus de coltensus
Ça pourrait aussi te plaire
Publicité