ShareShortcuts

App curfew

Adds a time window when apps can’t be opened

celebrity
„App curfew“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit celebrity die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
5K
Gesichert
0
Aktionen
14
Kategorie
API
Version
1.0
Sprache
EN

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

Versionsverlauf
1.0 22. Mai 2026

First release

Was er macht

14 Aktionen
  1. Comment
    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.
  2. Text
  3. Parameterized Run Script
    dk.simonbs.Scriptable
  4. Split Text
  5. Set Variable
    TimeParts
  6. Get Item from List
  7. Set Variable
    Hour
  8. Get Item from List
  9. Set Variable
    Minute
  10. Calculate
  11. If
  12. Go to Home Screen
  13. If
  14. Nothing

Als Code ansehen
Beta

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

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung