Отсканируй на iPhone, чтобы установить
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.
Что нового
Версия 1.0
First release
Что делает
Действий: 20-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от coltensus
Вам также может понравиться
Реклама