Просмотр
A fast and clear Weather Forecast that works completely in the Widget, showing Fahrenheit and Celcius.
Что нового
Версия 1.11
Replaced the clock symbol at the 10-day-forecast, now showing the Day of the date instead of it
Что делает
Действий: 32-
CommentRoutineHubUpdate Current Version: "1.11" RoutineHub ID: "2241" RoutineHubUpdate
-
Text
-
Set VariableOrt
-
Text
-
Set VariableChart
-
Get Current Weather
-
Text
-
Calculate
-
Round Number
-
Nothing
-
Get Dictionary Value
-
Get Variable
-
Get Dictionary Value
-
Text
-
Get Weather Forecast
-
Repeat with Each
-
Text
-
Add to Variable
-
Text
-
Text
-
Set Name
-
Get Variable
-
Choose from List
-
Get Weather Forecast
-
Repeat with Each
-
Text
-
Add to Variable
-
Text
-
Text
-
Set Name
-
Get Variable
-
Choose from List
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/math'
#include 'actions/location'
#define color yellow
#define glyph cloudService
/*
RoutineHubUpdate
Current Version: "1.11"
RoutineHub ID: "2241"
RoutineHubUpdate
*/
@Ort = "nil"
@Chart = "{\\"0\\":\\"□□□□□□□□□□\\",\\"1\\":\\"■□□□□□□□□□\\",\\"2\\":\\"■■□□□□□□□□\\",\\"3\\":\\"■■■□□□□□□□\\",\\"4\\":\\"■■■■□□□□□□\\",\\"5\\":\\"■■■■■□□□□□\\",\\"6\\":\\"■■■■■■□□□□\\",\\"7\\":\\"■■■■■■■□□□\\",\\"8\\":\\"■■■■■■■■□□\\",\\"9\\":\\"■■■■■■■■■□\\",\\"10\\":\\"■■■■■■■■■■\\"}"
getCurrentWeather(@Ort)
round(0)
nothing()
// TODO: Get Variable not supported: Assign variable here to '@Chart'.
getWeatherForecast("Hourly")
for _ in nil {
@WetterStdl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: ◴ {@RepeatItem['Date']} • ✹ {@RepeatItem['Temperature']} / {['Temperature']} • ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren = setName(nil, "Stdl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren'.
chooseFromList(nil)
getWeatherForecast("Daily")
for _ in nil {
@WetterTgl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:{@RepeatItem['Date']} • ✹ {@RepeatItem['Temperature']} / {@RepeatItem['Temperature']} • ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren1 = setName(nil, "Tgl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren1'.
chooseFromList(nil)
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от dtd4204
Вам также может понравиться
Реклама