Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3161 closed Feature Request (Completed)

Constants for MemGetStats's returned array

Reported by: TheDcoder Owned by: J-Paul Mesnage
Milestone: 3.3.15.1 Component: AutoIt
Version: Severity: None
Keywords: MemGetStats Cc:

Description

Hello, I think it would be nice if MemGetStats's returned array has some constants to access elements inside it... something like this:

#include <MsgBoxConstants.au3>

Global Enum $MEM_LOAD, $MEM_TOTALPHYRAM, $MEM_AVAILPHYRAM, $MEM_TOTALPGFILE, $MEM_AVAILPGFILE, $MEM_TOTALVIRTUAL, $MEM_AVAILVIRTUAL

$aMemStats = MemGetStats()
MsgBox($MB_OK, "Feature Request", "Total load currently on RAM: " & $aMemStats[$MEM_LOAD] & '%')

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 10 years ago

Milestone: 3.3.15.1
Owner: set to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [11588] in version: 3.3.15.1

in reply to:  1 comment:2 by TheDcoder, 10 years ago

Replying to Jpm:

Added by revision [11588] in version: 3.3.15.1

Thanks! :)

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.