Preview
It’s a YouTube video maker
What's New
Version 1.0
First release
What it does
25 actions-
CommentSauvegarde clef API dans iCloud by @MissK Mod by @Rickscloud
-
Choose from Menu
-
Choose from MenuView Keys
-
Get File
-
Repeat with Each
-
Get Details of Files
-
Set VariableName
-
Text
-
Combine Text
-
Set VariableCombined
-
Replace Text
-
Quick Look
-
Choose from MenuAdd Key
-
Ask for InputAPI name
-
Text
-
Get File
-
If
-
Create Folder
-
Save File
-
If
-
Set VariableNomFichier
-
Ask for InputAPI key
-
Set VariableKey
-
Append to Text File
-
Choose from MenuExit
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/text'
#include 'actions/documents'
#define color taupe
#define glyph key
/*
Sauvegarde clef API dans iCloud by @MissK
Mod by @Rickscloud
*/
const RepeatResults = menu nil {
item "View Keys":
const File = getFileFromFolder(, "API_Keys", true)
for _ in File {
getFileDetail(nil, "Name")
@Name
}
joinText(RepeatResults)
@Combined
const UpdatedText = replaceText("ApiKey_", "•", @Combined, false)
quicklook(UpdatedText)
item "Add Key":
prompt("API name")
const File1 = getFile("API_Keys/ApiKey_{}.txt", false)
if !File1 {
createFolder("API_Keys")
saveFile("API_Keys/ApiKey_{}.txt", File1, true)
} else {
}
@NomFichier
prompt("API key")
@Key
appendToFile("API_Keys/{@NomFichier}", @Key)
item "Exit":
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
You Might Also Like
Advertisement