ShareShortcuts

Custom Lock Screen Text

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

outlander-2007
Fazer fork de “Custom Lock Screen Text”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que outlander-2007 receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
43K
Salvo
0
Ações
41
Categoria
API
Versão
1.0
Idioma
EN

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

Novidades

Versão 1.0

First release

Histórico de versões
1.0 5 de abr de 2022

First release

O que ele faz

41 ações
  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 as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele 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 no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de outlander-2007

Ver tudo

Você também pode gostar

Ver tudo
Publicidade