ShareShortcuts

Humin User ID Generator

\not supported anymore\

humin
„Humin User ID Generator“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit humin die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
37K
Gesichert
1
Aktionen
49
Kategorie
Utilities
Version
1.1
Sprache
EN

[not supported anymore]

Neue Funktionen

Version 1.1

Integrated Humin Updater for automatic updates

Versionsverlauf
1.1 31. Okt 2022

Integrated Humin Updater for automatic updates

1.0 29. Okt 2022

First release

Was er macht

49 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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()
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von humin

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung