ShareShortcuts
„Forecast“ 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 kevinspcyfn 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
74K
Gesichert
1
Aktionen
42
Kategorie
Weather
Version
1.0
Sprache
EN

Vorschau

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

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 1. Nov 2018

First release

Was er macht

42 Aktionen
  1. Date
  2. Repeat
  3. Adjust Date
  4. Get Item from List
  5. Get Variable
  6. Get Item from List
  7. Get Variable
  8. Get Item from List
  9. Get Variable
  10. Get Item from List
  11. Get Variable
  12. Get Item from List
  13. Get Variable
  14. Get Item from List
  15. Get Variable
  16. Get Item from List
  17. Dictionary
  18. Get Weather Forecast
  19. Get Item from List
  20. Get Variable
  21. Get Item from List
  22. Get Variable
  23. Get Item from List
  24. Get Variable
  25. Get Item from List
  26. Get Variable
  27. Get Item from List
  28. Get Variable
  29. Get Item from List
  30. Get Variable
  31. Get Item from List
  32. Get Variable
  33. Get Item from List
  34. Get Variable
  35. Get Item from List
  36. Dictionary
  37. Text
  38. Make Rich Text from HTML
  39. Make PDF
  40. Get Images from Input
  41. Crop Image
  42. Show Notification
    …, from … to ….

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/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")
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 kevinspcyfn

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung