ShareShortcuts
Bifurcar “Start Timer”

¿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 mushnoko 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
23K
Guardado
2
Acciones
31
Categoría
Utilities
Versión
1.4
Idioma
EN

Timer and Stopwatch Launcher

You will be asked for text input in the following syntax ('#' is set by default to be deleted as needed):


Input digits and anything else as separators:

# <minute> [second]

([second] is optional)

<hour> [minute]

([minute] is optional)


Input any length of text excluding digits:

# <text length = minute>

<text length = hour>


Leave it blank for stopwatch. ('#' is optional)


Examples:

#hello 5-minute timer

got it 6-hour timer

#3 3-minute timer

2 15 2-hour-15-minute timer

# 6 + 7 = 13 6-minute-7-second timer

# starts the stopwatch

Novedades

Versión 1.4

Changed the prompt.

Historial de versiones
1.4 26 de oct. de 2025

Changed the prompt.

1.3 3 de mar. de 2025

Fixed bugs related to Stopwatch.

1.2 14 de dic. de 2024

Minor fixes

1.1 8 de dic. de 2024

Addressed issues with updated Shortcuts Actions.

1.0 15 de jun. de 2024

First release

Qué hace

31 acciones
  1. Text
  2. Set Variable
    NullText
  3. Text
  4. Ask for Input
    …
  5. Match Text
  6. Get Group from Matched Text
  7. If
  8. Text
  9. If
  10. Text
  11. Set Variable
    MinHourFactor
  12. Get Group from Matched Text
  13. Set Variable
    Ones
  14. If
  15. Get Group from Matched Text
  16. Count
  17. If
  18. Calculate
  19. Start Timer
  20. Open Tab
    com.apple.mobiletimer
  21. If
  22. Start Stopwatch
    com.apple.mobiletimer
  23. Open Tab
    com.apple.mobiletimer
  24. If
  25. Get Group from Matched Text
  26. If
  27. Text
  28. Set Variable
    Sixtieths
  29. Calculate Expression
  30. Start Timer
  31. Open Tab
    com.apple.mobiletimer

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.

#include 'actions/text'
#define color teal
#define glyph timer

@NullText = "nil"
prompt(, "Text", false)
const Matches = containsText(, "^(#?)([^0-9]*)([0-9]*)[^0-9]*([0-9]*)")
const Text = getMatchGroup(Matches, 1)

if Text == "#" {
} else {
}
@MinHourFactor = "60"
getMatchGroup(Matches, 3)
@Ones

if @Ones == @NullText || !@Ones {
	const Text1 = getMatchGroup(Matches, 2)
	const Count = count(Text1, "Characters")
	if Count > 0 {
		startTimer()
		rawAction("com.apple.mobiletimer.OpenTab", {
			"AppIntentDescriptor": "",
			"tab": "timer"
		})
	} else {
		rawAction("com.apple.mobiletimer.StartStopwatchIntent", {
			"AppIntentDescriptor": ""
		})
		rawAction("com.apple.mobiletimer.OpenTab", {
			"AppIntentDescriptor": "",
			"tab": "stopwatch"
		})
	}
} else {
	const Text2 = getMatchGroup(Matches, 4)
	if Text2 == @NullText {
	}
	@Sixtieths = "0"
	startTimer()
	rawAction("com.apple.mobiletimer.OpenTab", {
		"AppIntentDescriptor": "",
		"tab": "timer"
	})
}
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

También te puede gustar

Ver todo
Publicidad