Find a random app by using a random word List of words contains 479K words from a GitHub project (So it may take a little bit for it to process all the data (2 MINS MAX) I AM ALSO NOT RESPONSIBLE FOR ANY INAPPROPRIATE APPS FROM THIS and some of the words it picks may not work when searching for apps because no apps contain that word or etc.
What's New
Version 1.0
First release
What it does
20 actions-
Show NotificationGetting your Device Model...
-
Get Device Details
-
Show NotificationGetting your Current Location...
-
Get Current Location
-
Show NotificationDownloading a text file...
-
Get Contents of URLhttps://raw.githubusercontent.com/dwyl/english-words/refs/heads/master/words.txt
-
Show NotificationGetting text from the file...
-
Get Text from Input
-
Show NotificationSplitting Text by New Lines (May take a bit)...
-
Split Text
-
Show NotificationPicking a random word...
-
Get Item from List
-
Show NotificationFinding Apps...
-
Search App Store
-
Show NotificationGetting Random App from list...
-
Get Item from List
-
Show NotificationGetting Random App Store URL...
-
Get Details of App Store App
-
Show NotificationOpening Random App Store URL...
-
Open URLs
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/web'
#include 'actions/location'
#include 'actions/device'
#define color blue
#define glyph appStore
showNotification("Getting your Device Model...", "Current Action", false)
const DeviceModel = getDeviceDetail("Device Model")
showNotification("Getting your Current Location...", "Current Action", false)
const CurrentLocation = getCurrentLocation()
showNotification("Downloading a text file...", "Current Action", false)
const ContentsOfURL = downloadURL("https://raw.githubusercontent.com/dwyl/english-words/refs/heads/master/words.txt")
showNotification("Getting text from the file...", "Current Action", false)
const Text = getText(ContentsOfURL)
showNotification("Splitting Text by New Lines (May take a bit)...", "Current Action", false)
const SplitText = splitText(Text)
showNotification("Picking a random word...", "Current Action", false)
getListItem(SplitText, 0)
showNotification("Finding Apps...", "Current Action", false)
const AppStoreApps = searchAppStore()
showNotification("Getting Random App from list...", "Current Action", false)
const ItemFromList = getListItem(AppStoreApps, 0)
showNotification("Getting Random App Store URL...", "Current Action", false)
rawAction("is.workflow.actions.properties.appstore", {
"WFContentItemPropertyName": "Store URL",
"WFInput": "ItemFromList"
})
showNotification("Opening Random App Store URL...", "Current Action", false)
openURL(StoreURL)
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 coltensus
You Might Also Like
Advertisement