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