What you ask for already exists.Hi from Japan.
I wanna add the feature that "screen orientation" can be trigger or terms of action.
For example, if the screen orientation is horizontal, made screen vertical.
lt can change this app more useful.
What do you whink with this idea?
What you ask for already exists.
Trigger: Screen Orientation
Action: Force Screen Rotation
I recommend that you read the Wiki to best use MacroDroid
MacroDroid Wiki - MacroDroid Wiki
macrodroidforum.com
Initially, your request was different....Thanks for your help. But Iwanna use screen orientation as constraints.
Ex, display notification when 10 minutes have passed since the launch of a particular application, but only when the screen is horizontal.
Like this. Do you have any idea?
I had not seen thatView attachment 9454
One of these two will do what you want.
That's why I mentioned both, I wasn't sure if @Karby wanted the real life orientation or the screen orientation.Looking closer it's not the same. The orientation of the device detected by the sensor is not necessarily the orientation of the screen, for example if the screen was locked in portrait and the device is in landscape; the result may not be as expected
As I wrote earlier, it is not always correct because the screen may be locked in landscape mode but the device has been temporarily turned to vertical position.
Sorry, but I don't speak English and use DeepL for translation, which evidently doesn't work well.I tried to test it, for phones it seems the screen is always put in portrait when you turn the screen off but for other devices I'm not sure. Depending on the situation combining these 2 triggers (device orientation if screen on, device facing if screen off) would be the way to do it.
This is the reason why I asked it here. I'm not good at English neither, so thank you Qarboz for explaining them.Sorry, but I don't speak English and use DeepL for translation, which evidently doesn't work well.
I will try to rewrite.
There is no portrait/landscape screen constraint. And the constraints you propose are not the same thing; for some cases they may work well, for others they may not. E.g. there are apps that force the screen to rotate to landscape, such as some games; when in use the screen remains in landscape even if the device is rotated to portrait, in this case the Device Orientation constraint does not match the screen rotation.
Translated with DeepL.com (free version)
As I wrote you in #4, for now you can create another macro with screen orientation triggers and use a global bool variable as a constraint in other macros/actionsThis is the reason why I asked it here. I'm not good at English neither, so thank you Qarboz for explaining them.
I want macrodroid use screen orientation as constraints.