IanN1990 Posted October 30, 2011 Share Posted October 30, 2011 (edited) Heya, Is there any way for Autoit to detect when a application has >number of active RAM ?? In the Help File i found "MemGetStats()" but i am unsure how to point it towards anything ^^ Edited April 14, 2012 by IanN1990 Link to comment Share on other sites More sharing options...
PhilHibbs Posted October 30, 2011 Share Posted October 30, 2011 What you want is something like this: Collecting Memory Usage Information For a Process Autoit has a wrapper for one of the functions, _WinAPI_OpenProcess, but I don't think that it has a one for GetProcessMemoryInfo. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 30, 2011 Share Posted October 30, 2011 Do a forum search, you are probably not the first person to get the idea to use GetProcessMemoryInfo .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
IanN1990 Posted October 30, 2011 Author Share Posted October 30, 2011 i did and i didn't find anything i could use which is why i asked ^^ Link to comment Share on other sites More sharing options...
JohnOne Posted October 30, 2011 Share Posted October 30, 2011 Nothing in you could use? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ProgAndy Posted October 30, 2011 Share Posted October 30, 2011 Autoit has a wrapper for one of the functions, _WinAPI_OpenProcess, but I don't think that it has a one for GetProcessMemoryInfo.This function is included in PhilHibbs 1 *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
IanN1990 Posted October 30, 2011 Author Share Posted October 30, 2011 wow that seams like a powerful link with tones of useful API thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now