ShareShortcuts

Custom Lock Screen Text

First of all go to supervise.me and supervise your iDevice

outlander-2007
Bifurcar “Custom Lock Screen Text”

¿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 outlander-2007 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
43K
Guardado
0
Acciones
41
Categoría
API
Versión
1.0
Idioma
EN

First of all go to supervise.me and supervise your iDevice.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 5 de abr. de 2022

First release

Qué hace

41 acciones
  1. Ask for Input
    Enter the text that will appear on the Lock Screen
  2. If
  3. Replace Text
  4. Set Variable
    TM
  5. If
  6. Set Variable
    TM
  7. Text
  8. Split Text
  9. Text
  10. Set Variable
    UPD
  11. Text
  12. Set Variable
    Counter
  13. Repeat
  14. Get Item from List
  15. Base64 Encode
  16. Get Contents of Web Page
  17. If
  18. Text
  19. Set Variable
    UPD
  20. If
  21. If
  22. Split Text
  23. Get Item from List
  24. Base64 Encode
  25. Get Item from List
  26. Base64 Encode
  27. If
  28. Get Contents of URL
    …
  29. Text
  30. Replace Text
  31. Base64 Encode
  32. Calculate
  33. Set Variable
    Counter
  34. If
  35. Show Alert
    Download the latest update from supervise.me
  36. Open URLs
  37. If
  38. Repeat
  39. Open URLs
  40. URL
    ……
  41. Open URLs

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/web'
#include 'actions/text'
#define color green
#define glyph lock

const ProvidedInput = prompt("Enter the text that will appear on the Lock Screen")

if ProvidedInput !contains "&" {
	replaceText("&", "&", ProvidedInput)
	@TM
} else {
	@TM = ProvidedInput
}
const Text = "aHR0cDovL3N1cGVydmlzZS5tZS9tcnRhdmNpMDAx,aHR0cDovL3N1cGVydmlzZS5tZS9tcnRhdmNpMDAy"
const SplitText = splitText(Text, ",")
@UPD = "NO"
@Counter = "1"

repeat _ for 2 {
	const ItemFromList = getListItem(SplitText, @Counter)
	base64Encode(ItemFromList)
	const ContentsOfWebPage = getWebpageContents()
	if ContentsOfWebPage contains "DOWNLOAD BLOCKED" {
		@UPD = "YES"
	} else {
		if ContentsOfWebPage contains "TElORVNFUEVSQVRPUg==" {
			const SplitText1 = splitText(ContentsOfWebPage, "TElORVNFUEVSQVRPUg==")
			const ItemFromList1 = getListItem(SplitText1, 2)
			base64Encode(ItemFromList1)
			const ItemFromList2 = getListItem(SplitText1, 1)
			const Base64Encoded = base64Encode(ItemFromList2)
		} else {
			downloadURL()
			const UpdatedText = replaceText("TVlTVFJJTkdIRVJF", @TM, false)
			base64Encode(UpdatedText)
		}
	}
	@Counter = @Counter + 1
}

if @UPD == "YES" {
	alert("Update available", "Download the latest update from supervise.me")
	openURL("supervise.me")
} else {
	repeat _ for nil {
		openURL(Base64Encoded)
		const URL = url("{}{}")
		openURL(URL)
	}
}
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 outlander-2007

Ver todo

También te puede gustar

Ver todo
Publicidad