$screenhz » History » Version 2
Per Amundsen, 02/23/2023 07:38 PM
1 | 1 | Per Amundsen | _Added in 2.3_ |
---|---|---|---|
2 | |||
3 | *$screenhz* |
||
4 | |||
5 | Returns the refresh rate of the first screen found. |
||
6 | |||
7 | ----------------------------------------------------------------------------- |
||
8 | |||
9 | *$screenhz(N)* |
||
10 | |||
11 | Returns the refresh rate of the Nth screen found. |
||
12 | |||
13 | *Parameters* |
||
14 | |||
15 | 2 | Per Amundsen | table(ktable). |
16 | |*Parameter*|*Description*| |
||
17 | | N | If N = 0, the number of screens found, otherwise the Nth screen. | |
||
18 | 1 | Per Amundsen | |
19 | *Example* |
||
20 | |||
21 | <pre> |
||
22 | ; Print number of screens. |
||
23 | //echo -ag $screenhz(0) |
||
24 | |||
25 | ; Print the refresh rate of the first screen found. |
||
26 | //echo -ag $screenhz(1) |
||
27 | </pre> |