Multimedia Builder (Legacy Forum)
-
Nigg
- Posts: 63
- Joined: Thu Apr 14, 2011 2:10 pm
Post
by Nigg »
Hello everybody,
is anyone aware of a possibility or is there a plugin to query the maximum available RAM in the system?
like:
Code: Select all
wmic computersystem get TotalPhysicalMemory
-
dgilmour
- Posts: 543
- Joined: Fri Oct 22, 2010 11:29 am
- Location: Moskva, Rusko
Post
by dgilmour »
Try this
Code: Select all
tmp$ = '<Temp>tmemtmp.txt'
param$ = 'WAIT,HIDE /c wmic computersystem get TotalPhysicalMemory |more >"' + tmp$ + '"'
Run("cmd","param$")
mem$ = StrFromFile(tmp$,2,1)
param$ = 'WAIT,HIDE /c del /f /q "' + tmp$ + '"'
Run("cmd","param$")
Message("","mem$")
or use this plugin by toizy:
http://mmbuilder.ru/load/0-0-0-525-20
-
Nigg
- Posts: 63
- Joined: Thu Apr 14, 2011 2:10 pm
Post
by Nigg »
Thanks a lot dgilmour for your help (once again :)
At first I also had the reading of a file in mind, but the plugin seems to work (still) quite well