| View previous topic :: View next topic |
| Author |
Message |
airolg
Joined: 04 Dec 2005 Posts: 23
|
Posted: Thu Jan 26, 2006 5:59 pm Post subject: Keep WindowsXP Awake |
|
|
Is there a way I can write a script to have a message pop up and automatically type something so my WindowsXP doesn't go into sleep mode if I'm away from it too long? I have so much running and it just takes forever to bring WindowsXP back into use and when I come back, I'm in a hurry and panic to get it up and running again.
I don't mind learning how to write one, but is it possible? or practical? And few hints in the right direction would be much appreciated.
Any ideas? Is this not something AHK could be used for? Is there a better way?
Thanks |
|
| Back to top |
|
 |
Greg
Joined: 22 Dec 2005 Posts: 246
|
Posted: Thu Jan 26, 2006 6:03 pm Post subject: Re: Keep WindowsXP Awake |
|
|
| airolg wrote: | | Is there a better way? |
Disable automatic sleep mode? Or at least increase how long it takes before it sleeps.
It isn't the best idea to "randomly" send text to whatever window happens to be open just as a means of keeping the computer active. If you don't want to change the sleep mode settings, you could instead have a script move the mouse a few pixels.
Take a look at the documentation for SetTimer and MouseMove |
|
| Back to top |
|
 |
jgpaiva
Joined: 25 Jan 2006 Posts: 13
|
|
| Back to top |
|
 |
airolg
Joined: 04 Dec 2005 Posts: 23
|
Posted: Thu Jan 26, 2006 6:15 pm Post subject: Thank you!! |
|
|
Noise!!! I've downloaded and now I have to wait to see it work! Thanks so much...there's lots of scripts there--I should have checked there first. Sorry, folks.
I thought about disabling the sleep mode, but I like this little script that I can use or not, depending on my day.
Thanks again everyone!  |
|
| Back to top |
|
 |
Zoandar
Joined: 08 Jun 2006 Posts: 91 Location: Northern Ohio - USA
|
Posted: Wed Jun 28, 2006 3:37 am Post subject: |
|
|
I don't know what Skrommel's Noise script does (I donwloaded it, but it is already compiled, so I can't view the script) but I have a habit of using the Shift key to wake up a PC from a screensaver mode.
Shift is harmless, and doesn't send any text, Enter, or the like that could be dangerous, depending upon where the focus was at the moment. but it gets detected as activity and makes the PC wake up. _________________ Zoandar - new user - still learning. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Wed Jun 28, 2006 8:43 am Post subject: |
|
|
| Zoandar wrote: | | I don't know what Skrommel's Noise script does (I donwloaded it, but it is already compiled, so I can't view the script) | skrommel gives his scripts: the source codes are available under the little green H icon... _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Zoandar
Joined: 08 Jun 2006 Posts: 91 Location: Northern Ohio - USA
|
Posted: Wed Jun 28, 2006 7:09 pm Post subject: |
|
|
I know that is normally the case. But for that particular script, both the exe and AHK icons were missing. All that I saw that was there was the download link, which targeted a compiled version. _________________ Zoandar - new user - still learning. |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Thu Jun 29, 2006 10:50 am Post subject: |
|
|
You can look again, perhaps there was a server glitch when you checked.
I can see both icons, and I just downloaded the source to be sure...
Basically, he created an hidden GUI and every minute, he sends some random char to the hidden edit control. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Zoandar
Joined: 08 Jun 2006 Posts: 91 Location: Northern Ohio - USA
|
Posted: Thu Jun 29, 2006 5:53 pm Post subject: |
|
|
OK, Thanks! _________________ Zoandar - new user - still learning. |
|
| Back to top |
|
 |
RJ Guest
|
Posted: Wed Jun 04, 2008 3:20 pm Post subject: Defeating Windows Sleep Mode |
|
|
Noise looks pretty useful. What about something that is not an .exe or .bat so that non-admin folks can use it?
Thanks! |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6856 Location: Pacific Northwest, US
|
Posted: Wed Jun 04, 2008 10:46 pm Post subject: |
|
|
noise is also provided as an .ahk file. all (common) programs are .exe or .bat. If you cannot run either, then you cannot run AHK scripts. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|