Scan with your iPhone to install
Preview
Spins a bottle, and picks a random side! (You will need to download the added image!!!)
What's New
Version 1.0
First release
What it does
12 actions-
File
-
Random Number
-
Repeat
-
Random Number
-
Rotate Media
-
Make GIF
-
Show Result
-
Get Image Frames
-
Save to Photo Album
-
Get Latest Photos
-
Show Result
-
Delete Photos
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/photos'
#include 'actions/images'
#include 'actions/documents'
#define color lightblue
#define glyph waterBottle
const File = file()
const RandomNumber = randomNumber(10, 50)
const RepeatResults = repeat _ for RandomNumber {
const RandomNumber1 = randomNumber(100, 250)
rotateMedia(File, RandomNumber1)
}
const GIF = makeGIF(RepeatResults, "0,1", 1)
show(GIF)
const FramesFromImage = getImageFrames(GIF)
const SavedPhotoMedia = savePhoto(FramesFromImage, "WhatsApp")
getLatestPhotos(0, false)
show()
deletePhotos(SavedPhotoMedia)
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
You Might Also Like
Advertisement