Preview
DELETED
What's New
Version 5.24
DELETED
What it does
30 actions-
Get Contents of URLhttps://raw.githubusercontent.com/QuartzWarrior/QuartzBeta/main/Latest
-
Get Dictionary from Input
-
Set VariableSet
-
If
-
Text
-
If
-
If
-
Text
-
If
-
If
-
Text
-
If
-
Text
-
Set Name
-
Choose from List
-
If
-
Show Web Page
-
Stop This Shortcut
-
If
-
Show Web Page
-
Stop This Shortcut
-
If
-
Show Web Page
-
Stop This Shortcut
-
If
-
Show Web Page
-
Stop This Shortcut
-
If
-
Show Web Page
-
Stop This Shortcut
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/web'
#define color green
#define glyph magicWandAlt
const ContentsOfURL = downloadURL("https://raw.githubusercontent.com/QuartzWarrior/QuartzBeta/main/Latest")
getDictionary(ContentsOfURL)
@Set
if @Set contains "5" {
} else {
if @Set contains "4" {
} else {
if @Set contains "3" {
} else {
}
}
}
const RenamedItem = setName(IfResult, "B.vcf")
const ChosenItem = chooseFromList(RenamedItem, "These are the betas so far. Click one to get it")
if ChosenItem['Name'] == "{@Set['1.Name']} {@Set['1.Version']}" {
showWebpage(@Set['1.URL'])
stop()
}
if ChosenItem['Name'] == "{@Set['2.Name']} {@Set['2.Version']}" {
showWebpage(@Set['2.URL'])
stop()
}
if ChosenItem['Name'] == "{@Set['3.Name']} {@Set['3.Version']}" {
showWebpage(@Set['3.URL'])
stop()
}
if ChosenItem['Name'] == "{@Set['4.Name']} {@Set['4.Version']}" {
showWebpage(@Set['4.URL'])
stop()
}
if ChosenItem['Name'] == "{@Set['5.Name']} {@Set['5.Version']}" {
showWebpage(@Set['5.URL'], false)
stop()
}
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
More by quartzwarrior
You Might Also Like
Advertisement