$gfx » History » Version 3
  Per Amundsen, 08/11/2015 10:51 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 | 3 | Per Amundsen | ----------------------------------------------------------------------------- | 
| 10 | |||
| 11 | 1 | Per Amundsen | *gfx(N)* | 
| 12 | |||
| 13 | Returns the name of the Nth graphics card found. | ||
| 14 | |||
| 15 | *Parameters* | ||
| 16 | |||
| 17 | 2 | Per Amundsen | N - If N = 0, number of graphics cards, otherwise the Nth graphics card. | 
| 18 | 1 | Per Amundsen | |
| 19 | *Example* | ||
| 20 | |||
| 21 | <pre> | ||
| 22 | ; Print number of graphics cards. | ||
| 23 | //echo -ag $gfx(0) | ||
| 24 | |||
| 25 | ; Print the name of the first graphics cards. | ||
| 26 | //echo -ag $gfx(1) | ||
| 27 | </pre> |