Project

General

Profile

Added in 1.8.2

$screenw

Returns the width of the first screen found.


$screenw(N)

Returns the width 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 $screenw(0)

; Print the width of the first screen found.
//echo -ag $screenw(1)

Updated by Per Amundsen over 2 years ago · 1 revisions

Also available in: PDF HTML TXT