Jump to content

Recommended Posts

Posted (edited)

I'm sure there's an easy way to do this, but I can't figure it out. I made a script where the mouse moves, but it went idle anyway. Is there another way to keep the computer running? The reason I need this is because I'm using wireless internet to play my Playstation 2 online, but when my computer goes idle I lose my wireless signal.

Thanks.

Edited by bucky002
Posted

I'm sure there's an easy way to do this, but I can't figure it out. I made a script where the mouse moves, but it went idle anyway. Is there another way to keep the computer running? The reason I need this is because I'm using wireless internet to play my Playstation 2 online, but when my computer goes idle I lose my wireless signal.

Thanks.

Check your wireless settings and power settings for options that allow various components to shut down to conserve power. You may wish, in addition to your mousemove to refresh a web page, check your mail, ping a host, whatever if you need to mess w/ a remote process that is idling you.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Posted

_rundos("shutdown -s")

You need #include <Process.au3> with _RunDos :think:

ShutDown(1)

But anyway, here's the code:

;If you press the END key, the AntiIdle stops
HotKeySet("{END}", "EndAntiIdle")

While 1
Run(@ComSpec & " /c @echo hello","", @SW_HIDE)
Sleep(600000)
WEnd
;Runs the check every 600000 seconds (10 minutes)

Func EndAntiIdle()
    Exit 0
EndFunc

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
  • Recently Browsing   0 members

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