ShareShortcuts
Bifurcar “Need Help”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que shortgram reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
59K
Guardado
1
Acciones
18
Categoría
Messaging
Versión
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.

Novedades

Versión 1.4

Changed comment

Historial de versiones
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

Qué hace

18 acciones
  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 las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de shortgram

Ver todo

También te puede gustar

Ver todo
Publicidad