Mit dem iPhone scannen, um zu installieren
Good Morning Routine is a shortcut that you can set to Automations and the time you usually wake up to start your Good Morning Routine!
Neue Funktionen
Version 1.0
First release
Was er macht
14 Aktionen-
CommentMade By CoolM
-
Get Battery Level
-
Text
-
Set VariableName
-
Speak Text
-
Speak Text
-
Get Current Weather
-
Speak Text
-
If
-
Speak Text
-
If
-
Speak Text
-
Speak Text
-
CommentMade by CoolM
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/device'
#define color darkblue
#define glyph sun
// Made By CoolM
getBatteryLevel()
@Name = ""
speak("Good Morning, {@Name}\n")
speak("You're iPhone battery percentage is currently at {}%")
const WeatherConditions = getCurrentWeather()
speak("The weather is {WeatherConditions['Temperature']} and {WeatherConditions['Condition']}")
if WeatherConditions['Condition'] == "Sunny" {
speak("It's a perfect day to be outside!")
} else {
}
speak("Today is {CurrentDate}")
speak("I hope you have a great day {@Name}!")
// Made by CoolM
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 coolm
Das gefällt dir vielleicht auch
Werbung