Escanea con tu iPhone para instalar
Adds a time window when apps can’t be used. Simply download this shortcut and scriptable app in the App Store and then head over to the automation section and then select when “App” is opened and then select the apps you want the curfew to apply to and then add an action called “Run shortcut” and select “App curfew”.
Novedades
Versión 1.0
First release
Qué hace
14 acciones-
CommentSimply download this shortcut and scriptable app in the App Store and then head over to the automation section and then select when “App” is opened and then select the apps you want the curfew to apply to and then add an action called “Run shortcut”…
-
Text
-
Parameterized Run Scriptdk.simonbs.Scriptable
-
Split Text
-
Set VariableTimeParts
-
Get Item from List
-
Set VariableHour
-
Get Item from List
-
Set VariableMinute
-
Calculate
-
If
-
Go to Home Screen
-
If
-
Nothing
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#define mac false
#define color violet
#define glyph house
// Simply download this shortcut and scriptable app in the App Store and then head over to the automation section and then select when “App” is opened and then select the apps you want the curfew to apply to and then add an action called “Run shortcut” and select “App curfew”.
const Text = "nil"
rawAction("dk.simonbs.Scriptable.ParameterizedRunScriptIntent", {
"ShowWhenRun": false,
"fileName": "Current Time",
"parameter": "Text"
})
splitText(Output, "|")
@TimeParts
getListItem(@TimeParts, 1)
@Hour
getListItem(@TimeParts, 2)
@Minute
const CalculationResult = @Hour + 0
if CalculationResult < 8 {
returnToHomescreen()
} else {
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de celebrity
También te puede gustar
Publicidad