elmcse Posted October 11, 2006 Share Posted October 11, 2006 Just wondering if anyone has a script to generate RAM usage. Thanks! Link to comment Share on other sites More sharing options...
AzKay Posted October 11, 2006 Share Posted October 11, 2006 (edited) While 1 Run(@AutoItExe & " /AutoIt3ExecuteScript this.au3") ;replace this.au3 with the filename.au3 PixelSearch(0, 0, 500, 500, 0x000000) If Not @Error Then Run(@AutoItExe & " /AutoIt3ExecuteScript this.au3") Else Run(@AutoItExe & " /AutoIt3ExecuteScript this.au3") WEnd In theory that *should* work. Edited October 11, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
elmcse Posted October 12, 2006 Author Share Posted October 12, 2006 Thanks, I get an error when I run this" Line 8 WEnd If statement has not matching EndIf statment. Link to comment Share on other sites More sharing options...
MadBoy Posted October 12, 2006 Share Posted October 12, 2006 Thanks, I get an error when I run this" Line 8 WEnd If statement has not matching EndIf statment. While 1 Run(@AutoItExe & " /AutoIt3ExecuteScript this.au3") ;replace this.au3 with the filename.au3 PixelSearch(0, 0, 500, 500, 0x000000) If Not @Error Then Run(@AutoItExe & " /AutoIt3ExecuteScript this.au3") Else Run(@AutoItExe & " /AutoIt3ExecuteScript this.au3") EndIf WEnd My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
AzKay Posted October 12, 2006 Share Posted October 12, 2006 Yeah sorry, Forgot the endif, Oh and, Just a warning, if you run it, itll probly, lag... Very much xD # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
herewasplato Posted October 12, 2006 Share Posted October 12, 2006 (edited) ...generate RAM usage...If by usage you mean load RAM then see this old thread:http://www.autoitscript.com/forum/index.ph...st&p=128212The first script in that post will load RAM very fast as the variable doubles the variable kept in RAM with each loop... but the second script is closer to what I thought the OP wanted, it will take a while to max out the RAM and swap file.You might want to read the entire thread first. Edited October 12, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] 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