Project

General

Profile

Added in 2.3

$screenhz

Returns the refresh rate of the first screen found.


$screenhz(N)

Returns the refresh rate of the Nth screen found.

Parameters

N - If N = 0, the number of screens found, otherwise the Nth screen.

Example

; Print number of screens.
//echo -ag $screenhz(0)

; Print the refresh rate of the first screen found.
//echo -ag $screenhz(1)

Updated by Per Amundsen over 1 year ago · 1 revisions

Also available in: PDF HTML TXT