$screenb » History » Version 1
Per Amundsen, 08/11/2015 10:55 AM
1 | 1 | Per Amundsen | _Added in 1.8.2_ |
---|---|---|---|
2 | |||
3 | *$screenb* |
||
4 | |||
5 | Returns the bit depth of the first screen found. |
||
6 | |||
7 | ----------------------------------------------------------------------------- |
||
8 | |||
9 | *$screenb(N)* |
||
10 | |||
11 | Returns the bit depth the Nth screen found. |
||
12 | |||
13 | *Parameters* |
||
14 | |||
15 | N - If N = 0, the number of screens found, otherwise the Nth screen. |
||
16 | |||
17 | <pre> |
||
18 | ; Print number of screens. |
||
19 | //echo -ag $screenb(0) |
||
20 | |||
21 | ; Print the bith depth of the first screen found. |
||
22 | //echo -ag $screenb(1) |
||
23 | </pre> |