Scan with your iPhone to install
A bunch of random generators
What's New
Version 1.0
First release
What it does
37 actions-
Choose from MenuPick one:
-
Choose from MenuSet a random wallpaper from your photos
-
Find Photos
-
Count
-
Show Result
-
Get Item from List
-
Set Wallpaper
-
Go to Home Screen
-
Choose from MenuShow random photo(s) from your photo library (Its randomized how many photos it will get)
-
Random Number
-
Get Latest Photos
-
List
-
Get Item from List
-
If
-
Combine Images
-
Quick Look
-
If
-
If
-
Combine Images
-
Quick Look
-
If
-
If
-
Combine Images
-
Quick Look
-
If
-
Choose from Menurandom letters (Most likely it will be nonsense)
-
Show Result
-
List
-
Text
-
Repeat
-
Get Item from List
-
Show Result
-
Show Result
-
Choose from MenuRandom Number(s) (goes all the way to a googleplex)
-
Show Result
-
Random Number
-
Show Result
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define mac false
#define color green
#define glyph syncArrows
menu "Pick one:" {
item "Set a random wallpaper from your photos":
rawAction("is.workflow.actions.filter.photos", {})
count(Photos)
show("Btw, did u know that there's a 1 in {} chance to get the same exact wallpaper?")
const ItemFromList = getListItem(Photos, 0)
setWallpaper(ItemFromList)
returnToHomescreen()
item "Show random photo(s) from your photo library (Its randomized how many photos it will get)":
const RandomNumber = randomNumber(0, 25)
const LatestPhotos = getLatestPhotos(RandomNumber)
const List = list("Vertical", "Horizontal", "Grid")
const ItemFromList1 = getRandomItem(List)
if ItemFromList1 == "Vertical" {
rawAction("is.workflow.actions.image.combine", {
"WFImageCombineMode": "Vertically",
"WFInput": "LatestPhotos"
})
quicklook(CombinedImage)
} else {
}
if ItemFromList1 == "Horizontal" {
rawAction("is.workflow.actions.image.combine", {
"WFInput": "LatestPhotos"
})
quicklook(CombinedImage1)
} else {
}
if ItemFromList1 == "Grid" {
rawAction("is.workflow.actions.image.combine", {
"WFImageCombineMode": "In a Grid",
"WFInput": "LatestPhotos"
})
quicklook(CombinedImage2)
} else {
}
item "random letters (Most likely it will be nonsense)":
show("This may take a while, so be patient!")
const List1 = list("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", " ")
const Text = "25"
repeat _ for Text {
getListItem(List1, 0)
}
show("Btw, did u know that there's a 1 in 171,450 chance of you getting a real word?")
show()
item "Random Number(s) (goes all the way to a googleplex)":
show("Btw, did u know that there's a 1 in 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 chance of you getting a single digit? (Wow that's rare!)")
randomNumber(1, 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
show()
}
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 vultario
You Might Also Like
Advertisement