ShareShortcuts
„Weather pro“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit gooey321 die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
55K
Gesichert
4
Aktionen
63
Kategorie
Productivity
Version
2.1
Sprache
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!

Neue Funktionen

Version 2.1

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

Versionsverlauf
2.1 19. Aug 2022

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

2.0 15. Mai 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. Dez 2020

First release

Was er macht

63 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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: {}")
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von gooey321

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung