Page 1 of 1
Get available memory?
Posted: Tue Jul 15, 2014 3:51 am
by makeshyft
Hi everyone,
Wondering what you guys thought the best way was to get the available memory from the OS? Windows is my dev platform.
Cheers,
Tom
Re: Get available memory?
Posted: Tue Jul 15, 2014 9:38 am
by AndyP
Hi Tom,
You can use a shell command for this
//get all win system info
set the hideConsoleWindows to true
put shell ("systeminfo")
//for the Total memory
set the hideConsoleWindows to true
put shell ("systeminfo | find " & quote& "Total Physical Memory"& quote)
//for the Available memory
set the hideConsoleWindows to true
put shell ("systeminfo | find " & quote& "Available Physical Memory"& quote)
Re: Get available memory?
Posted: Tue Jul 15, 2014 4:55 pm
by makeshyft
THANK YOU! I will try this.