Project

General

Profile

Actions

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

Parameter Description
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 1 year ago · 2 revisions

Also available in: PDF HTML TXT