Escaneie com o iPhone para instalar
The official Apple Shortcut to view your total amount of screen time and make shortcuts with
Use this one to make shortcuts with it
Novidades
Versão 1.0
First release
O que ele faz
19 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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, ".")
getListItems(SplitText1, 0, 0)
getLastItem(SplitText1)
const Text1 = "0.{}"
const Text2 = "{}"
const SplitText2 = splitText(Text2, ".")
getListItems(SplitText2, 0, 0)
getListItems(SplitText2, 0, 0)
const Text3 = "0.{}"
const CalculationResult = Text3 * 60
round(CalculationResult)
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de coltensus
Você também pode gostar
Publicidade