ShareShortcuts
Fazer fork de “Weather pro”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que gooey321 receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
55K
Salvo
4
Ações
63
Categoria
Productivity
Versão
2.1
Idioma
EN

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

Versão 2.1

This update includes the air pollutants in your area and your local air quality index.

Histórico de versões
2.1 19 de ago de 2022

This update includes the air pollutants in your area and your local air quality index.

2.0 15 de mai de 2022

In this update the things added/fixed include: added Wind Speed, fixed a text mistake (an extra pm in sunset time) and more detailed daily forecast description.

1.0 10 de dez de 2020

First release

O que ele faz

63 ações
  1. Dictionary
  2. Text
  3. Create Folder
  4. Get IP Address
  5. If
  6. Show Result
  7. Stop This Shortcut
  8. If
  9. Speak Text
  10. Choose from Menu
    Weather☁️pro
  11. Choose from Menu
    Login
  12. Get File
  13. Set Variable
    Passcode
  14. Ask for Input
    What is your password?
  15. If
  16. Show Result
  17. If
  18. Choose from Menu
    Create a passcode
  19. Ask for Input
    What is your new password?
  20. Set Variable
    Newpassword
  21. Save File
  22. Show Result
  23. Get Current Location
  24. Get Current Weather
  25. Set Variable
    ✅location
  26. Location
  27. Number
  28. Repeat
  29. Get Current Weather
  30. Date
  31. Set Variable
    Date
  32. Text
  33. Choose from Menu
    …
  34. Choose from Menu
    Hourly forcast
  35. Get Weather Forecast
  36. Show Result
  37. Choose from Menu
    Daily forcast
  38. Get Weather Forecast
  39. Show Result
  40. Choose from Menu
    UV index
  41. Get Details of Weather
  42. Show Result
  43. Choose from Menu
    Feels like
  44. Get Details of Weather
  45. Show Result
  46. Choose from Menu
    Sunrise time
  47. Get Details of Weather
  48. Show Result
  49. Choose from Menu
    Sunset time
  50. Get Details of Weather
  51. Show Result
  52. Choose from Menu
    Wind direction
  53. Get Details of Weather
  54. Show Result
  55. Choose from Menu
    Wind speed
  56. Get Details of Weather
  57. Show Result
  58. Choose from Menu
    air pollutants
  59. Get Details of Weather
  60. Show Result
  61. Choose from Menu
    air quality index
  62. Get Details of Weather
  63. Show Result

Ver como código
Beta

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: {}")
	}
}
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 gooey321

Ver tudo

Você também pode gostar

Ver tudo
Publicidade