Screen status : Vertical/Horizontal

Karby

New member
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?
 

Qarboz

Well-known member
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
 

Karby

New member
What you ask for already exists.
Trigger: Screen Orientation
Action: Force Screen Rotation

I recommend that you read the Wiki to best use MacroDroid

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?
 

Qarboz

Well-known member
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?
Initially, your request was different....

The constraint for screen orientation is currently not there, and it might be a good idea.
In the meantime, you can work around this by creating a new macro with the Screen Orientation trigger that sets a global bool variable to True when the screen is Landscape and False when the screen is Portrait, and use the state of the variable as a constraint in other macros/actions
 

Qarboz

Well-known member
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
 

Endercraft

Moderator (& bug finder :D)
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
That's why I mentioned both, I wasn't sure if @Karby wanted the real life orientation or the screen orientation.
 

Endercraft

Moderator (& bug finder :D)
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.
 

Qarboz

Well-known member
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.
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)
 

LinerSeven

Active member
As Qarboz mentioned, the size of the display does not seem to change depending on the orientation of the device.

I would like to have the magic text for screen rotation status too.
 

Karby

New member
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)
This 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.
 

Endercraft

Moderator (& bug finder :D)
I understand better now. Device facing shouldn't consider the screen orientation that apps can set but the way your phone is oriented physically.
 

Qarboz

Well-known member
This 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.
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/actions
 
Top