ShareShortcuts

Get a random number 1-10

Get a random number is a shortcut that comes up a random number 1-10!

coolm
Fork “Get a random number 1-10”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so coolm gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
24K
Saved
1
Actions
10
Category
Fun
Version
1.0
Language
EN

Get a random number is a shortcut that comes up a random number 1-10!

What's New

Version 1.0

First release

Version History
1.0 Apr 12, 2024

First release

What it does

10 actions
  1. Comment
    Made by CoolM
  2. Text
  3. Choose from Menu
    …
  4. Choose from Menu
    YES Get a random number!
  5. List
  6. Get Item from List
  7. Show Alert
  8. Choose from Menu
    NO Don’t get a random number!
  9. Stop This Shortcut
  10. Comment
    Made by CoolM

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement