Changes settings of a display device.
ChangeDisplaySettings, Command, Parameter
| Command |
Orientation |
| Parameter |
0: The screen is rotated by 0 degrees 90: The screen is rotated by 90 degrees counterclockwise 180: The screen is rotated by 180 degrees 270: The screen is rotated by 270 degrees counterclockwise |
ChangeDisplaySettings, Orientation, 0
MsgBox, 0°
ChangeDisplaySettings, Orientation, 90
MsgBox, 90°
ChangeDisplaySettings, Orientation, 180
MsgBox, 180°
ChangeDisplaySettings, Orientation, 270
MsgBox, 270°
ChangeDisplaySettings, Orientation, 0
MsgBox, 0° again