ShareShortcuts

Sleep Well Calendar Tomorrow

This shortcut returns results from your calendars that occur 'Tomorrow'

aylwardreed
Fazer fork de “Sleep Well Calendar Tomorrow”

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 aylwardreed 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
57K
Salvo
1
Ações
11
Categoria
Productivity
Versão
1.0
Idioma
EN

This shortcut returns results from your calendars that occur 'Tomorrow'.

It is meant to be used as part of iOS 14's Wind Down feature.

Visit smallbites.me/creating-ios14-wind-down-shortcuts/ for full details as to how this works.

Created by Jonathan Reed

www.smallbites.me

@aylwardreed

Novidades

Versão 1.0

First release

Histórico de versões
1.0 30 de ago de 2020

First release

O que ele faz

11 ações
  1. Comment
    This shortcut returns results from your calendars that occur 'Tomorrow'. As it is meant to be used as part of iOS 14's Wind Down feature, 'tomorrow' means the next day. For example, it will return the same results if you access it at 10pm at night o…
  2. Date
  3. Adjust Date
  4. Adjust Date
  5. Get Upcoming Events
  6. If
  7. Choose from List
  8. If
  9. Choose from Menu
  10. Choose from Menu
    No events tomorrow!
  11. Nothing

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/calendar'
#define color orange
#define glyph bed

/*
This shortcut returns results from your calendars that occur 'Tomorrow'.
As it is meant to be used as part of iOS 14's Wind Down feature, 'tomorrow' means the next day. For example, it will return the same results if you access it at 10pm at night or at 2am in the morning.
It is set to 'All Calendars' and 10 events. If you normally have more events increase the amount. If you want to only return results from certain calendars add a filter events action after the 'Get 10 events' action. Then change the magic variables in the two scripting actions to THAT result variable.

Created by Jonathan Reed
www.smallbites.me
@aylwardreed

Visit smallbites.me/creating-ios14-wind-down-shortcuts/
*/
currentDate()
adjustDate(, "Add")
adjustDate(, "Get Start of Day")
rawAction("is.workflow.actions.getupcomingevents", {
	"WFDateSpecifier": "Specified Day",
	"WFGetUpcomingItemCount": 10,
	"WFSpecifiedDate": "{}"
})

if UpcomingEvents {
	chooseFromList(UpcomingEvents, "Here's what's happening tomorrow")
} else {
	menu nil {
	item "No events tomorrow!":
	}
}
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 aylwardreed

Ver tudo

Você também pode gostar

Ver tudo
Publicidade