$gfx » History » Version 1
Per Amundsen, 08/11/2015 06:06 AM
1 | 1 | Per Amundsen | _Added in 1.6_ |
---|---|---|---|
2 | |||
3 | *$gfx* |
||
4 | |||
5 | Returns the name of the first graphics card found. |
||
6 | |||
7 | _Might not be the default graphics card._ |
||
8 | |||
9 | *gfx(N)* |
||
10 | |||
11 | Returns the name of the Nth graphics card found. |
||
12 | |||
13 | *Parameters* |
||
14 | |||
15 | N - If N = 0, number of graphics cards, otherwise the Nth graphic card. |
||
16 | |||
17 | *Example* |
||
18 | |||
19 | <pre> |
||
20 | ; Print number of graphics cards. |
||
21 | //echo -ag $gfx(0) |
||
22 | |||
23 | ; Print the name of the first graphics cards. |
||
24 | //echo -ag $gfx(1) |
||
25 | </pre> |