ShareShortcuts

App curfew

Adds a time window when apps can’t be opened

celebrity
Bifurcar “App curfew”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que celebrity reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
5K
Guardado
0
Acciones
14
Categoría
API
Versión
1.0
Idioma
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.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 22 de may. de 2026

First release

Qué hace

14 acciones
  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

Ver como código
Beta

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.

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

Ver todo

También te puede gustar

Ver todo
Publicidad