GetPCTrait
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Returns current value of system traits.
Syntax
(fValue:float) GetPCTrait iTrait:int
Traits
0 - Major Windows version; 1 - Minor Windows version; 2 - Max system physical memory; 3 - Available system physical memory; 4 - Current memory load(%); 5 - How much time passed since PC started(ms); 6 - OS build number;
Example
set fValue to GetPCTrait 0
Notes
- Windows version values are returned according to the table here.
- OS build number is supposed to tell if user is using Windows 11 or later(value will be >22000).