ShareShortcuts

Humin User ID Generator

\not supported anymore\

humin
Dupliquer « Humin User ID Generator »

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 humin 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
37K
Enregistré
1
Actions
49
Catégorie
Utilities
Version
1.1
Langue
EN

[not supported anymore]

Nouveautés

Version 1.1

Integrated Humin Updater for automatic updates

Historique des versions
1.1 31 oct. 2022

Integrated Humin Updater for automatic updates

1.0 29 oct. 2022

First release

Ce qu’il fait

49 actions
  1. Dictionary
  2. Dictionary
  3. Set Variable
    IntToHex
  4. List
  5. Set Variable
    Output
  6. List
  7. Set Variable
    N
  8. Repeat
  9. Random Number
  10. Add to Variable
  11. Number
  12. Set Variable
    Last
  13. Repeat with Each
  14. Calculate
  15. Calculate
  16. Set Variable
    Last
  17. Get Dictionary Value
  18. Set Variable
    N
  19. Repeat
  20. Random Number
  21. Get Dictionary Value
  22. Set Variable
    Random
  23. Get Item from List
  24. Combine Text
  25. Add to Variable
  26. Get Item from List
  27. Combine Text
  28. Add to Variable
  29. Get Item from List
  30. Combine Text
  31. Text
  32. Add to Variable
  33. Get Item from List
  34. Combine Text
  35. Text
  36. Add to Variable
  37. Get Item from List
  38. Combine Text
  39. Add to Variable
  40. Combine Text
  41. Dictionary
  42. Text
  43. Set Variable
    Filename
  44. Get File
  45. If
  46. Show Alert
    Warning!
  47. Save File
  48. Text
  49. Show Result

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/documents'
#define color lightblue
#define glyph person

@IntToHex = {
	"1": "1",
	"10": "a",
	"11": "b",
	"12": "c",
	"13": "d",
	"14": "e",
	"15": "f",
	"2": "2",
	"3": "3",
	"4": "4",
	"5": "5",
	"6": "6",
	"7": "7",
	"8": "8",
	"9": "9"
}
list()
@Output = nil
list("1", "0")
@N

repeat _ for 2 {
	randomNumber(0, 1)
	@N
}
@Last = 0

for _ in @N {
	const CalculationResult = @Last * 2
	@Last = CalculationResult + @RepeatItem
}
@N = @IntToHex[@Last]

repeat _ for 30 {
	randomNumber(1, 15)
}
@Random = @IntToHex[]
const ItemFromList = getListItems(@Random, 0, 8)
joinText(ItemFromList, "Custom")
@Output
const ItemFromList1 = getListItems(@Random, 9, 12)
joinText(ItemFromList1, "Custom")
@Output
const ItemFromList2 = getListItems(@Random, 13, 15)
joinText(ItemFromList2, "Custom")
@Output += "4{}"
const ItemFromList2 = getListItems(@Random, 16, 18)
joinText(ItemFromList2, "Custom")
@Output += "{@N}{}"
const ItemFromList2 = getListItems(@Random, 19, 30)
joinText(ItemFromList2, "Custom")
@Output
joinText(@Output, "-")
const Dictionary = {
	"userID": "{}"
}
@Filename = "Humin/user_id.json"
const File = getFileFromFolder(, @Filename, false)

if File {
	alert("You already have a user ID created. Do you want to continue? Note that if you proceed, we won't be able to trace your data back to you.", "Warning!")
}
saveFile(@Filename, Dictionary, true)
show()
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 humin

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité