Отсканируй на iPhone, чтобы установить
A Terminal for iOS And iPadOS
Что нового
Версия 2.0
Exit Message
Что делает
Действий: 29-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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 {
}
}
}
}
}
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама