Clouder (Apps in a nutshell)
Part of apps in a nutshell, this shortcut shows both complicated and simple weather
the-anti-reverse-idiotEscaneie com o iPhone para instalar
Part of apps in a nutshell, this shortcut shows both complicated and simple weather.
Novidades
Versão 1.0
First release
O que ele faz
8 ações-
Choose from MenuSimple or Complicated Weather
-
Choose from MenuSimple
-
Get Current Weather
-
Show Alert
-
Choose from MenuComplicated
-
Get Weather Forecast
-
Get Details of Weather
-
Show Alert
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 blue
#define glyph raincloud
menu "Simple or Complicated Weather" {
item "Simple":
getCurrentWeather()
confirm("It is {}")
item "Complicated":
const WeatherConditions = getWeatherForecast("Daily")
getWeatherDetail(WeatherConditions, Ask)
confirm("It is {WeatherConditions}")
}
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 the-anti-reverse-idiot
Você também pode gostar
Publicidade