You can see many weather-related things about your location like the UV, the temperature, the feels-like, temperature, the sunset time and the sunrise time, and much much more! If you think I should add something or have any feedback please put them in the comment section this will help me make this shortcut better for everyone! (please don’t copy this shortcut please!) My YouTube channel: https://www.youtube.com/channel/UCcgeH0t-4nsYEqkyVlWk8oQ Get new shortcut updates first!
Novidades
This update includes the air pollutants in your area and your local air quality index.
O que ele faz
63 ações-
Dictionary
-
Text
-
Create Folder
-
Get IP Address
-
If
-
Show Result
-
Stop This Shortcut
-
If
-
Speak Text
-
Choose from MenuWeather☁️pro
-
Choose from MenuLogin
-
Get File
-
Set VariablePasscode
-
Ask for InputWhat is your password?
-
If
-
Show Result
-
If
-
Choose from MenuCreate a passcode
-
Ask for InputWhat is your new password?
-
Set VariableNewpassword
-
Save File
-
Show Result
-
Get Current Location
-
Get Current Weather
-
Set Variable✅location
-
Location
-
Number
-
Repeat
-
Get Current Weather
-
Date
-
Set VariableDate
-
Text
-
Choose from Menu…
-
Choose from MenuHourly forcast
-
Get Weather Forecast
-
Show Result
-
Choose from MenuDaily forcast
-
Get Weather Forecast
-
Show Result
-
Choose from MenuUV index
-
Get Details of Weather
-
Show Result
-
Choose from MenuFeels like
-
Get Details of Weather
-
Show Result
-
Choose from MenuSunrise time
-
Get Details of Weather
-
Show Result
-
Choose from MenuSunset time
-
Get Details of Weather
-
Show Result
-
Choose from MenuWind direction
-
Get Details of Weather
-
Show Result
-
Choose from MenuWind speed
-
Get Details of Weather
-
Show Result
-
Choose from Menuair pollutants
-
Get Details of Weather
-
Show Result
-
Choose from Menuair quality index
-
Get Details of Weather
-
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/text'
#include 'actions/network'
#include 'actions/documents'
#define color yellow
#define glyph trueTone
createFolder("Weather☁️pro/")
const CurrentIPAddress = getExternalIP()
if !CurrentIPAddress {
show("Your internet connection appears to be offline.")
stop()
} else {
}
speak("Welcome to Weather☁️pro")
menu "Weather☁️pro" {
item "Login":
getFile("Weather☁️pro/passcode.txt")
@Passcode
const ProvidedInput = prompt("What is your password?")
if ProvidedInput == @Passcode {
show("You have logged in.")
} else {
}
item "Create a passcode":
prompt("What is your new password?")
@Newpassword
saveFile("Weather☁️pro/passcode.txt", @Newpassword)
show("You have created a new password.")
}
const CurrentLocation = getCurrentLocation()
getCurrentWeather(CurrentLocation)
@location
location(@location)
const Number = 10000000000000000
repeat _ for Number {
getCurrentWeather(@location)
currentDate()
@Date
menu {
item "Hourly forcast":
getWeatherForecast("Hourly")
show("Hourly forecast: {}")
item "Daily forcast":
getWeatherForecast()
show("Daily forecast (top one is today): {}")
item "UV index":
getWeatherDetail(@location, "UV Index")
show("UV:{}")
item "Feels like":
getWeatherDetail(@location, "Feels Like")
show("feels like: {}")
item "Sunrise time":
getWeatherDetail(@location, "Sunrise Time")
show("Sunrise time: {}")
item "Sunset time":
getWeatherDetail(@location, "Sunset Time")
show("sunset time: {} ")
item "Wind direction":
getWeatherDetail(@location, "Wind Direction")
show("Wind direction: {}")
item "Wind speed":
getWeatherDetail(@location, "Wind Speed")
show("Wind speed: {}")
item "air pollutants":
getWeatherDetail(@location, "Air Pollutants")
show("Air pollutants: {}")
item "air quality index":
getWeatherDetail(@location, "Air Quality Index")
show("Air quality index: {}")
}
}
Avaliações e comentários
Escrever uma avaliaçãoAinda não há avaliações. Seja o primeiro a compartilhar o que você pensa!