ShareShortcuts
„Need Help“ 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 shortgram 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
59K
Gesichert
1
Aktionen
18
Kategorie
Messaging
Version
1.4
Sprache
EN

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

Neue Funktionen

Version 1.4

Changed comment

Versionsverlauf
1.4 7. Jun 2020

Changed comment

1.3 7. Jun 2020

Added question

1.2 7. Jun 2020

Change name

1.1 7. Jun 2020

Change name

1.0 7. Jun 2020

First release

Was er macht

18 Aktionen
  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!

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'
#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)
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 shortgram

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung