mud409 Posted August 22, 2008 Share Posted August 22, 2008 (edited) I'm trying to find a timer script that detects keystrokes or idle times... basically like a screensaver. Here's my problem, I have a script w/ gui that launches a couple programs (basically a front end) If these programs are left idle the screensaver for windows wont kick in, and at a certain point they'll leave a static image on the screen if that screen which if left on will cause burn in on my monitor (not using a normal pc monitor). I'm not here asking anyone to write the script for me (unless you want to I just have no clue where to even begin with this script so I'd like an example if one's out there.Edit- I did find this script http://www.autoitscript.com/forum/index.php?showtopic=4361 however this detects mouse movements, at no point in time will I be using the mouse, only 22 keys of the keyboard so this wont work for me. Edited August 22, 2008 by mud409 Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 22, 2008 Share Posted August 22, 2008 I'm trying to find a timer script that detects keystrokes or idle times... basically like a screensaver. Here's my problem, I have a script w/ gui that launches a couple programs (basically a front end) If these programs are left idle the screensaver for windows wont kick in, and at a certain point they'll leave a static image on the screen if that screen which if left on will cause burn in on my monitor (not using a normal pc monitor). I'm not here asking anyone to write the script for me (unless you want to I just have no clue where to even begin with this script so I'd like an example if one's out there.Edit- I did find this script http://www.autoitscript.com/forum/index.php?showtopic=4361 however this detects mouse movements, at no point in time will I be using the mouse, only 22 keys of the keyboard so this wont work for me._Timer_GetIdleTime() in the current Beta Timers.au3 UDF. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 22, 2008 Share Posted August 22, 2008 Don't you dare use this script for something malicious Oh, PUHLEEEez! What's the point of the keylogger just to detect idle time? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Szhlopp Posted August 22, 2008 Share Posted August 22, 2008 Oh, PUHLEEEez! What's the point of the keylogger just to detect idle time? He wanted it when keys were not pressed for X amount time. This is a way more effecient way than using "HotKeySet" 22 times RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 22, 2008 Share Posted August 22, 2008 He wanted it when keys were not pressed for X amount time. This is a way more effecient way than using "HotKeySet" 22 times And how does it compare with _Timer_GetIdleTime() for efficiency? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
mud409 Posted August 22, 2008 Author Share Posted August 22, 2008 (edited) ironic I just found your post http://www.autoitscript.com/forum/index.ph...mp;hl=idle+time here and got it working before I saw this excellent script, works perfect. thanks! Edited August 22, 2008 by mud409 Link to comment Share on other sites More sharing options...
ChrisL Posted August 22, 2008 Share Posted August 22, 2008 Oh, PUHLEEEez! What's the point of the keylogger just to detect idle time? To be fare I had to do something similar because some of the machines I need to use it on were NT4 SP3 and the dll Function GetLastInputInfo was from Win2K onwards, so IMHO there is a place for it [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire 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