ShareShortcuts

Nächste Zugverbindung

Aktuellere Versionen in Routinehub

raphaelvasiu
Fork “Nächste Zugverbindung”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so raphaelvasiu gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
25K
Saved
1
Actions
29
Category
Routines
Version
1.1
Language
DE

Aktuellere Versionen in Routinehub

What's New

Version 1.1

Test Auto-Update

Version History
1.1 Mar 26, 2024

Test Auto-Update

1.0 Mar 26, 2024

First release

What it does

29 actions
  1. Get IP Address
  2. If
  3. Text
  4. Save File
  5. If
  6. Text
  7. Save File
  8. Set Cellular Data
  9. Location
  10. Location
  11. Show Directions
  12. Get Weather Forecast
  13. Get Weather Forecast
  14. Get Item from List
  15. Get Item from List
  16. Get Current Location
  17. Show Notification
    …: … …: …
  18. File
  19. Text
  20. If
  21. Set Cellular Data
  22. If
  23. Delete Files
  24. Get My Shortcuts
  25. Text
  26. If
  27. Dictionary
  28. Run Shortcut
    Shortcuts Updater
  29. If

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/network'
#define color red
#define glyph tramTunnel

const AktuelleIPAdresse = getExternalIP()

if AktuelleIPAdresse {
	const Text = "Verbunden"
	saveFile("Status.txt", Text, true)
} else {
	const Text1 = "Nicht Verbunden"
	saveFile("Status.txt", Text1, true)
	setCellularData(false)
}
const Start = location("")
const Ziel = location("")
rawAction("is.workflow.actions.getdirections", {
	"WFDestination": "Ziel",
	"WFGetDirectionsActionApp": "Maps",
	"WFGetDirectionsActionMode": "Transit",
	"WFLocation": "Start"
})
const Wetterbedingungen = getWeatherForecast("Hourly")
const Wetterbedingungen1 = getWeatherForecast("Hourly")
getFirstItem(Wetterbedingungen)
getRandomItem(Wetterbedingungen1)
const AktuellerStandort = getCurrentLocation()
showNotification("{Start['City']}: {}\n{Ziel['City']}: {}", "Wetter für {Start['City']} und {Ziel['City']}:", AktuellerStandort)
file()
const Text2 = "{}"

if Text2 beginsWith "Nicht" {
	setCellularData(0)
} else {
}
deleteFiles(, true)
getShortcuts()
const Text3 = "{}"

if Text3 contains "Shortcuts Updater" {
	const Wrterbuch = {
		"name": "Nächste Zugverbindung",
		"shareid": 2753,
		"version": "1.0"
	}
	run("Shortcuts Updater", Wrterbuch)
} else {
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement