Отсканируй на iPhone, чтобы установить
Multiple Orientation Actions Is a Shortcut that you can use to make different types of actions in different orientations!
Что нового
Версия 1.0
First release
Что делает
Действий: 17-
CommentMade by CoolM You can change the Actions if you want!
-
Get Orientationcom.apple.ShortcutsActions
-
If
-
Open App
-
If
-
If
-
Open App
-
If
-
If
-
Open Voice Modecom.openai.chat
-
If
-
If
-
Wake Apple T Vcom.apple.TVRemoteUIService
-
If
-
If
-
Open App
-
If
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/device'
#define color red
#define glyph loadingIndicatorAlt
/*
Made by CoolM
You can change the Actions if you want!
*/
const GetOrientation = getOrientation()
if GetOrientation == {
openApp("com.apple.camera")
} else {
if GetOrientation == {
openApp("com.apple.mobiletimer")
} else {
if GetOrientation == {
rawAction("com.openai.chat.OpenVoiceModeIntent", {
"AppIntentDescriptor": ""
})
} else {
if GetOrientation == {
rawAction("com.apple.TVRemoteUIService.WakeAppleTVIntent", {
"device": "Ask"
})
} else {
if GetOrientation == {
openApp("com.apple.camera")
} else {
}
}
}
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от coolm
Вам также может понравиться
Реклама