Daylight Hours note for iOS 13 only
Gives you fundamental information about today
Such as Sunrise and Sunset
Nothing great about that? But it also calculates the hours of Daylight and Hours of Darkness too.
Plus the weather where you are.
Novidades
Versão 1.0
First release
O que ele faz
34 ações-
Get Current Weather
-
Get Details of Weather
-
Set VariableSun Up
-
Adjust Date
-
Set VariableUptomorrow
-
Get Details of Weather
-
Set VariableSun Down
-
Get Time Between Dates
-
Set VariableHoursDaylight
-
Get Time Between Dates
-
Set VariableDarkness
-
Nothing
-
Date
-
Get Time Between Dates
-
Set VariableTo Dark
-
Nothing
-
Adjust Date
-
Set VariableGolden hour
-
Nothing
-
Adjust Date
-
Set VariableBlue
-
Nothing
-
Get Details of Weather
-
Set VariableCondition
-
Get Details of Weather
-
Set VariableFeeling Like
-
Nothing
-
Get Time Between Dates
-
Set VariableTonight
-
If
-
Text
-
If
-
Text
-
Show Result
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#include 'actions/location'
#define color yellow
#define glyph sun
const WeatherConditions = getCurrentWeather()
getWeatherDetail(WeatherConditions, "Sunrise Time")
@SunUp
adjustDate(@SunUp, "")
@Uptomorrow
getWeatherDetail(WeatherConditions, "Sunset Time")
@SunDown
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@SunDown}",
"WFTimeUntilFromDate": "{@SunUp}",
"WFTimeUntilUnit": "Total Time"
})
@HoursDaylight
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@SunUp}",
"WFTimeUntilFromDate": "{@SunDown}",
"WFTimeUntilUnit": "Total Time"
})
@Darkness
nothing()
currentDate()
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@SunDown}",
"WFTimeUntilFromDate": "{}",
"WFTimeUntilUnit": "Total Time"
})
@ToDark
nothing()
adjustDate(@SunUp, "")
@GoldenHour
nothing()
adjustDate(@SunDown, "")
@Blue
nothing()
getWeatherDetail(WeatherConditions, "Condition")
@Condition
getWeatherDetail(WeatherConditions, "Feels Like")
@FeelingLike
nothing()
rawAction("is.workflow.actions.gettimebetweendates", {
"WFInput": "{@Uptomorrow}",
"WFTimeUntilFromDate": "{@SunDown}",
"WFTimeUntilUnit": "Total Time"
})
@Tonight
if CurrentDate contains "am" {
} else {
}
show()
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de tonydudley
Você também pode gostar
Publicidade