ShareShortcuts

Humin User ID Generator

\not supported anymore\

humin
Fazer fork de “Humin User ID Generator”

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 humin 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
37K
Salvo
1
Ações
49
Categoria
Utilities
Versão
1.1
Idioma
EN

[not supported anymore]

Novidades

Versão 1.1

Integrated Humin Updater for automatic updates

Histórico de versões
1.1 31 de out de 2022

Integrated Humin Updater for automatic updates

1.0 29 de out de 2022

First release

O que ele faz

49 ações
  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

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/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()
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 humin

Ver tudo

Você também pode gostar

Ver tudo
Publicidade