Mit dem iPhone scannen, um zu installieren
Adds a time window when apps can’t be opened. 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.
Neue Funktionen
Version 1.0
First release
Was er macht
14 Aktionen-
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.
-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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.
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 {
}
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 celebrity
Das gefällt dir vielleicht auch
Werbung