ShareShortcuts
Fazer fork de “Need Help”

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 shortgram 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
59K
Salvo
1
Ações
18
Categoria
Messaging
Versão
1.4
Idioma
EN

This gets your location and current weather conditions around you and sends them to the person that you choose to send it too.

Novidades

Versão 1.4

Changed comment

Histórico de versões
1.4 7 de jun de 2020

Changed comment

1.3 7 de jun de 2020

Added question

1.2 7 de jun de 2020

Change name

1.1 7 de jun de 2020

Change name

1.0 7 de jun de 2020

First release

O que ele faz

18 ações
  1. Set Variable
    Message
  2. Get Current Location
  3. Set Variable
    CurrentLocation
  4. Get Current Weather
  5. Set Variable
    CurrentWeather
  6. Ask for Input
    Do you want to add a personal message?
  7. If
  8. Dictate Text
  9. Set Variable
    PersonalText
  10. If
  11. Text
  12. Add to Variable
  13. If
  14. Text
  15. Add to Variable
  16. Comment
    Add the person that you want the text to go too.
  17. Send Message
  18. Show Notification
    Done!

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/location'
#define color red
#define glyph personRunning

@Message = nil
getCurrentLocation()
@CurrentLocation
getCurrentWeather()
@CurrentWeather
const ProvidedInput = prompt("Do you want to add a personal message?")

if ProvidedInput contains "Yes" {
	listen()
	@PersonalText
}

if !@PersonalText {
	@Message += "--Pre made--\nI need help! This is my current location: {@CurrentLocation}\n\nAnd the weather is: {@CurrentWeather}"
} else {
	@Message += "--Pre made--\nI need help! This is my current location: {@CurrentLocation}\n\nAnd the weather is: {@CurrentWeather}\n--Personal message-- \n{@PersonalText}"
}
// Add the person that you want the text to go too.

sendMessage(nil, @Message, false)
showNotification("Done!", "From shortcuts app", false)
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 shortgram

Ver tudo

Você também pode gostar

Ver tudo
Publicidade