Vista previa
Forecast: Shows you the forecast for the next eight hours
It sends a notificación with a nice PDF style with the forecast for the next eight hours
Novedades
Versión 1.0
First release
Qué hace
42 acciones-
Date
-
Repeat
-
Adjust Date
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Dictionary
-
Get Weather Forecast
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Get Variable
-
Get Item from List
-
Dictionary
-
Text
-
Make Rich Text from HTML
-
Make PDF
-
Get Images from Input
-
Crop Image
-
Show Notification…, from … to ….
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/text'
#include 'actions/location'
#include 'actions/calendar'
#define color blue
#define glyph sun
currentDate()
const Horas = repeat _ for 7 {
adjustDate("", "")
}
const 1 = getListItems(nil, 0, 0)
// TODO: Get Variable not supported: Assign variable here to 'Horas'.
const 2 = getFirstItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Horas'.
const 3 = getListItem(nil, 3)
// TODO: Get Variable not supported: Assign variable here to 'Horas'.
const 4 = getListItem(nil, 4)
// TODO: Get Variable not supported: Assign variable here to 'Horas'.
const 5 = getListItem(nil, 5)
// TODO: Get Variable not supported: Assign variable here to 'Horas'.
const 6 = getFirstItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Horas'.
const 7 = getListItem(nil, 7)
const HoraN = {
"1": "{CurrentDate} hrs",
"2": "{1} hrs",
"3": "{2} hrs",
"4": "{3} hrs",
"5": "{4} hrs",
"6": "{5} hrs",
"7": "{6} hrs",
"8": "{7} hrs"
}
getWeatherForecast("Hourly")
const Temp = getListItems(nil, 8)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 8 = getFirstItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 9 = getFirstItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 10 = getListItem(nil, 3)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 11 = getFirstItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 12 = getListItem(nil, 5)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 13 = getRandomItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 14 = getRandomItem(nil)
// TODO: Get Variable not supported: Assign variable here to 'Temp'.
const 15 = getRandomItem(nil)
const Cond = {
"1": "{8}",
"2": "{9}",
"3": "{10}",
"4": "{11}",
"5": "{12}",
"6": "{13}",
"7": "{14}",
"8": "{15}"
}
getRichTextFromHTML("")
makePDF(nil)
getImages(nil)
cropImage(nil, 1580, 1320, "Top Left")
showNotification("{CurrentDate}, from {HoraN['1']} to {HoraN['8']}. ", "Weather forecast")
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 kevinspcyfn
También te puede gustar
Publicidad