Get a random number 1-10
Get a random number is a shortcut that comes up a random number 1-10!
coolmScan with your iPhone to install
Get a random number is a shortcut that comes up a random number 1-10!
What's New
Version 1.0
First release
What it does
10 actions-
CommentMade by CoolM
-
Text
-
Choose from Menu…
-
Choose from MenuYES Get a random number!
-
List
-
Get Item from List
-
Show Alert
-
Choose from MenuNO Don’t get a random number!
-
Stop This Shortcut
-
CommentMade by CoolM
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color lightblue
#define glyph syncArrows
// Made by CoolM
menu {
item " YES Get a random number!":
const List = list("1", "2", "3", "4", "5", "6", "7", "8", "9", "10")
getFirstItem(List)
confirm("You got the number {}!")
item "NO Don’t get a random number!":
stop()
}
// Made by CoolM
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 coolm
You Might Also Like
Advertisement