Random Number Generator v1
This shortcut will generator a random number based on a number range you set!
banditoScan with your iPhone to install
This shortcut will generator a random number based on a number range you set!
What's New
Version 1.0
First release
What it does
6 actions-
Ask for InputWhat is the minimum number?
-
Set VariableMIN
-
Ask for InputWhat is the maximum number?
-
Set VariableMAX
-
Random Number
-
Show AlertRandom Number Generator
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 darkorange
#define glyph dice
prompt("What is the minimum number?", "Number")
@MIN
prompt("What is the maximum number?", "Number")
@MAX
randomNumber(@MIN, @MAX)
alert("The chosen number is {}", "Random Number Generator")
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 bandito
You Might Also Like
Advertisement