Multiple Orientation Actions Is a Shortcut that you can use to make different types of actions in different orientations!
What's New
Version 1.0
First release
What it does
17 actions-
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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 {
}
}
}
}
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by coolm
You Might Also Like
Advertisement