Scan med din iPhone for at installere
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”.
Nyheder
Version 1.0
First release
Hvad den gør
14 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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 {
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra celebrity
Du vil måske også kunne lide
Annonce