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
Get available memory?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Get available memory?
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Re: Get available memory?
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)
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)
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
Re: Get available memory?
THANK YOU! I will try this.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com