ShareShortcuts
Fazer fork de “SmartForecast”

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 dtd4204 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
70K
Salvo
1
Ações
32
Categoria
Weather
Versão
1.11
Idioma
EN

Pré-visualização

A fast and clear Weather Forecast that works completely in the Widget, showing Fahrenheit and Celcius.

Novidades

Versão 1.11

Replaced the clock symbol at the 10-day-forecast, now showing the Day of the date instead of it

Histórico de versões
1.11 22 de mar de 2019

Replaced the clock symbol at the 10-day-forecast, now showing the Day of the date instead of it

1.0 19 de mar de 2019

First release

O que ele faz

32 ações
  1. Comment
    RoutineHubUpdate Current Version: "1.11" RoutineHub ID: "2241" RoutineHubUpdate
  2. Text
  3. Set Variable
    Ort
  4. Text
  5. Set Variable
    Chart
  6. Get Current Weather
  7. Text
  8. Calculate
  9. Round Number
  10. Nothing
  11. Get Dictionary Value
  12. Get Variable
  13. Get Dictionary Value
  14. Text
  15. Get Weather Forecast
  16. Repeat with Each
  17. Text
  18. Add to Variable
  19. Text
  20. Text
  21. Set Name
  22. Get Variable
  23. Choose from List
  24. Get Weather Forecast
  25. Repeat with Each
  26. Text
  27. Add to Variable
  28. Text
  29. Text
  30. Set Name
  31. Get Variable
  32. Choose from List

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/math'
#include 'actions/location'
#define color yellow
#define glyph cloudService

/*
RoutineHubUpdate

Current Version: "1.11"
RoutineHub ID: "2241"

RoutineHubUpdate
*/
@Ort = "nil"
@Chart = "{\\"0\\":\\"□□□□□□□□□□\\",\\"1\\":\\"■□□□□□□□□□\\",\\"2\\":\\"■■□□□□□□□□\\",\\"3\\":\\"■■■□□□□□□□\\",\\"4\\":\\"■■■■□□□□□□\\",\\"5\\":\\"■■■■■□□□□□\\",\\"6\\":\\"■■■■■■□□□□\\",\\"7\\":\\"■■■■■■■□□□\\",\\"8\\":\\"■■■■■■■■□□\\",\\"9\\":\\"■■■■■■■■■□\\",\\"10\\":\\"■■■■■■■■■■\\"}"
getCurrentWeather(@Ort)
round(0)
nothing()
// TODO: Get Variable not supported: Assign variable here to '@Chart'.
getWeatherForecast("Hourly")

for _ in nil {
	@WetterStdl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: ◴ {@RepeatItem['Date']}  •  ✹ {@RepeatItem['Temperature']} / {['Temperature']}  •  ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren = setName(nil, "Stdl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren'.
chooseFromList(nil)
getWeatherForecast("Daily")

for _ in nil {
	@WetterTgl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:{@RepeatItem['Date']}  •  ✹ {@RepeatItem['Temperature']} / {@RepeatItem['Temperature']}  •  ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren1 = setName(nil, "Tgl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren1'.
chooseFromList(nil)
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 dtd4204

Ver tudo

Você também pode gostar

Ver tudo
Publicidade