Mit dem iPhone scannen, um zu installieren
Vorschau
Advanced weather
Neue Funktionen
Version 1.0
First release
Was er macht
14 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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()
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von thefinders
Das gefällt dir vielleicht auch
Werbung