ShareShortcuts

배터리 상태 (충전 시작)

First shortcut of 배터리 상태 series

guinea
Bifurcar “배터리 상태 (충전 시작)”

¿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 guinea 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
9K
Guardado
1
Acciones
46
Categoría
API
Versión
1.0
Idioma
EN

First shortcut of 배터리 상태 series.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 24 de dic. de 2025

First release

Qué hace

46 acciones
  1. Get Device Details
  2. Text
  3. Find Notes
  4. Get Text from Input
  5. Split Text
  6. Count
  7. Get Item from List
  8. If
  9. Get Battery Level
  10. If
  11. Nothing
  12. If
  13. Text
  14. Find Notes
  15. Get Text from Input
  16. Split Text
  17. Set Variable
    메모
  18. Count
  19. Calculate Expression
  20. Repeat
  21. Calculate Expression
  22. Get Item from List
  23. Add to Variable
  24. Calculate Statistics
  25. Round Number
  26. Get Battery Level
  27. If
  28. Text
  29. Date
  30. Append to Note
  31. Get Battery Level
  32. Get Text from Input
  33. Append to Note
  34. Text
  35. Append to Note
  36. Calculate Expression
  37. Round Number
  38. Date
  39. Adjust Date
  40. Format Date
  41. Text
  42. Show Notification
    …
  43. If
  44. Nothing
  45. If
  46. 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.

#include 'actions/device'
#define color blue
#define glyph battery

getDeviceDetail("Device Model")
rawAction("is.workflow.actions.filter.notes", {
	"AppIntentDescriptor": "",
	"WFContentItemFilter": ""
})
const 1 = getText()
const 2 = splitText(1)
const 3 = count(2)
const 4 = getListItem(2, 3)

if 4 == "충전 종료됨" {
	const 5 = getBatteryLevel()
	if 5 == 100 {
	} else {
		rawAction("is.workflow.actions.filter.notes", {
			"AppIntentDescriptor": "",
			"WFContentItemFilter": ""
		})
		const 7 = getText(6)
		splitText(7)
		@
		count(@)
		const 8 = (-1)/3
		repeat _ for 8 {
			const 9 = 3*@RepeatIndex+1
			getListItem(@, 9)
			@
		}
		const 10 = statistic("", nil)
		round(10)
		const 11 = getBatteryLevel()
		if 11 ==  {
			const 12 = "배터리 사용 ({})"
			currentDate()
			appendNote(12)
			const 13 = getBatteryLevel()
			getText(13)
			appendNote(12)
			appendNote(12)
			const 14 = ((100-5)/100)*
			round(14)
			currentDate()
			adjustDate(, "")
			formatDate(, "None", "HH시 MM분")
			showNotification()
		} else {
		}
	}
} 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 guinea

Ver todo

También te puede gustar

Ver todo
Publicidad