ShareShortcuts

Custom Lock Screen Text

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

outlander-2007
Dupliquer « Custom Lock Screen Text »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que outlander-2007 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
43K
Enregistré
0
Actions
41
Catégorie
API
Version
1.0
Langue
EN

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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 5 avr. 2022

First release

Ce qu’il fait

41 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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)
	}
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de outlander-2007

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité