This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
action:Set_Screen_Resolution [2023/09/14 00:31] peternlewis created |
action:Set_Screen_Resolution [2023/09/14 04:38] peternlewis |
||
---|---|---|---|
Line 7: | Line 7: | ||
The resolution is in the form: | The resolution is in the form: | ||
+ | ``` | ||
nominal width, nominal height, pixel width, pixel height, frame rate | nominal width, nominal height, pixel width, pixel height, frame rate | ||
+ | ``` | ||
Keyboard Maestro lists the available resolutions for the specified display in the popup menu, and only those available resolutions can be used. | Keyboard Maestro lists the available resolutions for the specified display in the popup menu, and only those available resolutions can be used. | ||
- | stuff about missing parameters | + | If there are entries missing, Keyboard Maestro will choose the best available resolution that has those parameters. So if you provide just a single number, it will choose the best DPI, highest frame rate resolution with that width. |
- | stuff about bad screen resolutions | + | |
+ | Note that despite the system providing the available resolutions, it is always possible one or more of them may not actually work, potentially stopping the display from working, so a wise idea is to create a version of this action with the current resolution selected (it's ticked in the popup menu, or available via the [[token:ScreenResolution|%ScreenResolution%]] token), and create a sequence like: | ||
+ | * Set Screen Resolution to <test values> | ||
+ | * Pause 5 seconds | ||
+ | * Set Screen Resolution to <current working value> | ||
===== See Also ===== | ===== See Also ===== | ||
+ | |||
+ | ==== Tokens ==== | ||
+ | |||
+ | * [[token:ScreenResolution|ScreenResolution]] token | ||
+ | * [[token:ScreenResolutions|ScreenResolutions]] token | ||
+ | * [[:Tokens |See all Tokens ]] | ||
==== Functions ==== | ==== Functions ==== |