r/Scriptable • u/Due-Engineering-2332 • Dec 28 '21
Not Possible Orientation lock?
Is there a way to set orientation lock or at least see if it is enabled like dark mode?
3
Upvotes
r/Scriptable • u/Due-Engineering-2332 • Dec 28 '21
Is there a way to set orientation lock or at least see if it is enabled like dark mode?
View all comments
Show parent comment
1
u/Due-Engineering-2332 Dec 29 '21
I know I can change the orientation lock, but is there a way to see if it’s activated or not? I want to make a script change orientation lock based on its previous state: ex. If its off, then turned on by this script once some app is opened (I know how to do that), then turned off again only if it was off before the script ran. I know how to do this in theory but it only works if there is a way to see whether orientation lock is on at the beginning