Project

General

Profile

$screenhz » History » Version 1

Per Amundsen, 03/08/2016 12:31 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
N - If N = 0, the number of screens found, otherwise the Nth screen.
16
17
*Example*
18
19
<pre>
20
; Print number of screens.
21
//echo -ag $screenhz(0)
22
23
; Print the refresh rate of the first screen found.
24
//echo -ag $screenhz(1)
25
</pre>