Jump to content

Creating "Lag"


Guest Py7|-|[]/\/
 Share

Recommended Posts

Guest Py7|-|[]/\/

I know, from experience, not to open a lot of things at once. BUT, what if you wanted to "lag" your system? Without opening many, many files, how would you go about "lagging" it? I was wondering if u made a script like this:

LaggyFunc()

Func LaggyFunc()

while 1

Send("{ENTER}")

wend

EndFunc

and then have another script that sends z, and another that sends a, for every possible key... How laggy would that actualy make a system? Do AutoIt scripts actually take up that much virtual memory? If not, then do you have another idea? Thanks.

Link to comment
Share on other sites

if you want to emulate "Lag" or "Latancy" for internet connection, you can try things like Netlimiter. Not sure how many other programs do the same thing. Basically you can set your transfer from 1k up to your limit. Works good for testing how fast a 56k modem would work. You set it for each program, so you can download at full speed and yet test out things without slowing down the full system.

Bringing your computer down to a crawl is not hard. This used to work well:

while 1
if winactive("bobs big boy") then winactivate("bobs big boy")
wend

At least it eats up 95% of the CPU :)

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

I don't think I want to know the purpose of creating lag, but when I recurse my scripts it generally slows down my system... I wrote this little script for you:

Opt( "TrayIconHide", 1 )
HotKeySet( "!^q", "ExitNow" )
If( $CmdLine[0] = "/child" ) Then Child()

While 1
   $i = $i + 1
   If( $i < 11 ) Then 
      Run( '"' & @ScriptFullPath & '" /child'  )
   Else
      Exit
   EndIf
Wend

Func Child()
;   **** Your Code Goes Here! ****
EndFunc

Func ExitNow()
   Exit
EndFunc

Maybe this will help!

*** Matt @ MPCS

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...