Scan with your iPhone to install
Aktuellere Versionen in Routinehub
What's New
Version 1.1
Test Auto-Update
What it does
29 actions-
Get IP Address
-
If
-
Text
-
Save File
-
If
-
Text
-
Save File
-
Set Cellular Data
-
Location
-
Location
-
Show Directions
-
Get Weather Forecast
-
Get Weather Forecast
-
Get Item from List
-
Get Item from List
-
Get Current Location
-
Show Notification…: … …: …
-
File
-
Text
-
If
-
Set Cellular Data
-
If
-
Delete Files
-
Get My Shortcuts
-
Text
-
If
-
Dictionary
-
Run ShortcutShortcuts Updater
-
If
View as code
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
Advertisement