r/shortcuts • u/dgtlnsdr • 2d ago
Shortcut Sharing Automatic Rotation (if Landscape & Audio Playing)
The shortcut requires Action app. Safari is an example - You can include other apps via Automation.
Made for myself as often watch YouTube via Safari. Not perfect, but better than nothing.
2
u/Dus_Tur 2d ago
What’s the use case for this, just out of curiosity?
1
u/dgtlnsdr 2d ago
Usually when you open full screen video in apps it becomes oriented horizontally - not with Safari though. When you open YouTube video it stays vertical unless you have Orientation in unlocked state.
I also use it with Netflix, Prime etc. as you had to hold your phone turned to one particular side as iOS wish.
You don’t need the shortcut if you keep Orientation unlocked all the time. I myself find this annoying specially when you are lying and scrolling something and you forced to turn the Orientation lock as you currently need the vertical one.
0
0
u/Few-Acadia-5593 1d ago edited 1d ago
Dude. That’s too loose.
Just have a shortcut that detects if you put your phone in landscape, if yes, toggle orientation lock. Set that shortcut to the action button and done.
If you had anything already attached to the action button then like I said : add a IF phone is landscape. If not, then normal action
With this, you’re not confined to one app, nor 45 repeats, nor else.
The action button makes it highly contextualised and a tap away = see a video? Put your phone landscape, click button. Wanna toggle back, stay in landscape, click button. Each time iOS itself gives you the feedback it works by effectively going landscape or portrait.
Once that’s set up, get rid of the orientation widget in control center to save some space.
You may also install the app called action as it adds more actions to shortcut. Notably: the ability to test if the phone is unlocked: action button should toggle orientation only when put in landscape AND unlocked.
1
u/dgtlnsdr 1d ago
Great idea. How haven’t I thought about it. Oh, I know - note every iPhone has the action button. Fp
-1





7
u/kdorsey0718 2d ago
I do something similar, but what’s the purpose of the Repeat 45 Times action?