ShareShortcuts
Bifurcar “Daylight Hours”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que tonydudley reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
67K
Guardado
0
Acciones
34
Categoría
Utilities
Versión
1.0
Idioma
EN

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.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 1 de ago. de 2019

First release

Qué hace

34 acciones
  1. Get Current Weather
  2. Get Details of Weather
  3. Set Variable
    Sun Up
  4. Adjust Date
  5. Set Variable
    Uptomorrow
  6. Get Details of Weather
  7. Set Variable
    Sun Down
  8. Get Time Between Dates
  9. Set Variable
    HoursDaylight
  10. Get Time Between Dates
  11. Set Variable
    Darkness
  12. Nothing
  13. Date
  14. Get Time Between Dates
  15. Set Variable
    To Dark
  16. Nothing
  17. Adjust Date
  18. Set Variable
    Golden hour
  19. Nothing
  20. Adjust Date
  21. Set Variable
    Blue
  22. Nothing
  23. Get Details of Weather
  24. Set Variable
    Condition
  25. Get Details of Weather
  26. Set Variable
    Feeling Like
  27. Nothing
  28. Get Time Between Dates
  29. Set Variable
    Tonight
  30. If
  31. Text
  32. If
  33. Text
  34. Show Result

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de tonydudley

Ver todo

También te puede gustar

Ver todo
Publicidad