Project

General

Profile

Actions

$gfx » History » Revision 4

« Previous | Revision 4/5 (diff) | Next »
Per Amundsen, 12/18/2021 12:43 PM


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 almost 3 years ago · 4 revisions

Also available in: PDF HTML TXT