Project

General

Profile

Actions

$gfx » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Per Amundsen, 08/11/2015 06:06 AM


Added in 1.6

$gfx

Returns the name of the first graphics card found.

Might not be the default graphics card.

gfx(N)

Returns the name of the Nth graphics card found.

Parameters

N - If N = 0, number of graphics cards, otherwise the Nth graphics card.

Example

; Print number of graphics cards.
//echo -ag $gfx(0)

; Print the name of the first graphics cards.
//echo -ag $gfx(1)

Updated by Per Amundsen over 9 years ago · 2 revisions

Also available in: PDF HTML TXT