Escaneie com o iPhone para instalar
Aktuellere Versionen in Routinehub
Novidades
Versão 1.1
Test Auto-Update
O que ele faz
29 ações-
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
Ver como código
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/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 {
}
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
Você também pode gostar
Publicidade