Can 'screen rotation' or 'screen width' be used as a conditional?


I am looking to have a different action depending on whether the current display/monitor/screen is vertical or landscape.

Is there a way to do this?

Currently it seems conditional action groups cannot take into account the display rotation or size.

For example, I want an action that will center a window on screen if the current screen is landscape. But it is vertical, I want it to take up 2/3rds of the screen.