Scanne avec ton iPhone pour installer
[not supported anymore]
Nouveautés
Version 1.1
Integrated Humin Updater for automatic updates
Ce qu’il fait
49 actions-
Dictionary
-
Dictionary
-
Set VariableIntToHex
-
List
-
Set VariableOutput
-
List
-
Set VariableN
-
Repeat
-
Random Number
-
Add to Variable
-
Number
-
Set VariableLast
-
Repeat with Each
-
Calculate
-
Calculate
-
Set VariableLast
-
Get Dictionary Value
-
Set VariableN
-
Repeat
-
Random Number
-
Get Dictionary Value
-
Set VariableRandom
-
Get Item from List
-
Combine Text
-
Add to Variable
-
Get Item from List
-
Combine Text
-
Add to Variable
-
Get Item from List
-
Combine Text
-
Text
-
Add to Variable
-
Get Item from List
-
Combine Text
-
Text
-
Add to Variable
-
Get Item from List
-
Combine Text
-
Add to Variable
-
Combine Text
-
Dictionary
-
Text
-
Set VariableFilename
-
Get File
-
If
-
Show AlertWarning!
-
Save File
-
Text
-
Show Result
Afficher en tant que code
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
Ça pourrait aussi te plaire
Publicité