Sign in to follow this  
Followers 0
bucky002

Script To Stop The Computer To Going Into Idle.

6 posts in this topic

#1 ·  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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

Could you just go to Power Options in the Control Panel and choose/customize a power scheme?

You can even choose to always show the icon on the taskbar if you want to easily switch among power schemes.

Hope that helps


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

_rundos("shutdown -s")


-jaenster

Share this post


Link to post
Share on other sites

_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

Share this post


Link to post
Share on other sites

Thank you for the help. I just did the power settings rather then mess around with a script everytime I get on.

Share this post


Link to post
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
Sign in to follow this  
Followers 0