Scanne avec ton iPhone pour installer
A Terminal for iOS And iPadOS
Nouveautés
Version 2.0
Exit Message
Ce qu’il fait
29 actions-
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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 {
}
}
}
}
}
}
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité