Project

General

Profile

Actions

$screenw » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 08/11/2015 10:56 AM


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 9 years ago · 1 revisions

Also available in: PDF HTML TXT