Scan with your iPhone to install
Preview
Advanced weather
What's New
Version 1.0
First release
What it does
14 actions-
Get Current Weather
-
Get Details of Weather
-
If
-
Show Alertweather
-
If
-
Show Alert
-
Choose from Menu…
-
Choose from Menushare by QRCODE
-
Generate QR Code
-
Show Result
-
Choose from Menuspeak to me
-
Speak Text
-
Choose from Menuend
-
Stop This Shortcut
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/text'
#include 'actions/location'
#define color blue
#define glyph raincloud
const WeatherConditions = getCurrentWeather()
const DetailsOfWeatherConditions = getWeatherDetail(WeatherConditions, Ask)
if DetailsOfWeatherConditions {
alert(DetailsOfWeatherConditions, "weather")
} else {
confirm("{WeatherConditions} Is not available in Weather app...")
}
menu {
item "share by QRCODE":
makeQRCode(DetailsOfWeatherConditions, "High", [{float 0} {float 0} {float 0} {float 1}], [{float 2} {float 2} {float 2} {float 1}])
show()
item "speak to me":
speak(DetailsOfWeatherConditions)
item "end":
stop()
}
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 thefinders
You Might Also Like
Advertisement