Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3161 closed Feature Request (Completed)

Constants for MemGetStats's returned array

Reported by: TheDcoder Owned by: Jpm
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 follow-up: Changed 9 years ago by Jpm

  • Milestone set to 3.3.15.1
  • Owner set to Jpm
  • Resolution set to Completed
  • Status changed from new to closed

Added by revision [11588] in version: 3.3.15.1

comment:2 in reply to: ↑ 1 Changed 9 years ago by TheDcoder

Replying to Jpm:

Added by revision [11588] in version: 3.3.15.1

Thanks! :)

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.