Mit dem iPhone scannen, um zu installieren
A Terminal for iOS And iPadOS
Neue Funktionen
Version 2.0
Exit Message
Was er macht
29 Aktionen-
Ask for Input
-
If
-
Open App
-
If
-
If
-
Text
-
Show Result
-
Run ShortcutiTerminal
-
If
-
If
-
Get My Shortcuts
-
Choose from List
-
Set VariableShortcut
-
Run Shortcut
-
If
-
If
-
Open App
-
If
-
If
-
Open App
-
If
-
If
-
Launch Remotecom.apple.TVRemoteUIService
-
If
-
If
-
Text
-
Set VariableExit Message
-
Show Notification…
-
If
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/shortcuts'
#define color green
#define glyph wrench
const EntradaProporcionada = prompt("")
if EntradaProporcionada contains "iExplorer" {
openApp("com.apple.DocumentsApp")
} else {
if EntradaProporcionada contains "help" {
show()
runSelf()
} else {
if EntradaProporcionada contains "Shortcut" {
const MisAtajos = getShortcuts()
chooseFromList(MisAtajos)
@Shortcut
run(@Shortcut, nil)
} else {
if EntradaProporcionada contains "iConfig" {
openApp("com.apple.Preferences")
} else {
if EntradaProporcionada contains "Safari" {
openApp("com.apple.mobilesafari")
} else {
if EntradaProporcionada contains "tvOS" {
rawAction("com.apple.TVRemoteUIService.LaunchRemoteIntent", {
"device": "Ask"
})
} else {
if EntradaProporcionada contains "exit" {
@ExitMessage = "Bye!"
showNotification(@ExitMessage, @ExitMessage)
} else {
}
}
}
}
}
}
}
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
Das gefällt dir vielleicht auch
Werbung