I don't know if it would work with the "lock-down" but there is an API in=20 Windows especially for disabling the screen saver while running a slide sho= w=20 or something like that. If I understand correctly PowerPoint uses this API= =20 so you could test the concept without having to run a program. The API is: SystemParametersInfo() See http://www.codeproject.com/KB/system/disablescreensave.aspx for details= .. -- Bob Ammerman RAm Systems ----- Original Message -----=20 From: "Gerhard Fiedler" To: "Microcontroller discussion list - Public." Sent: Saturday, February 12, 2011 5:59 AM Subject: Re: [PIC] RE: USB HID keyboard volume events having no effect=20 underWindows. (18F2553, JALv2) > Oli Glaser wrote: > >> On 11/02/2011 22:40, Gerhard Fiedler wrote: >>> John van der Putte wrote: >>> >>>> At work they disabled the possibility to turn off the screensaver. I >>>> use a small program which "presses" every 59 second the shift-key. >>>> No extra hardware needed. The program is called caffe1ne. It works >>>> very well. The only problem is that when I'm making a selection in >>>> excel (or every other program) the pressing of shift undo my >>>> selection. >>> >>> Wow... I understand forced security measures, to a point, but forced >>> screen savers... isn't there a phrase in the constitution of your >>> country against "cruel and unusual punishment" or so? :) >>> >>> Anyway, if the "volume up/down" "keys" prevent the screen saver, >>> they would be better than shift (that is, with fewer side effects). >>> If you can get the source code of caffe1ne, the change should be >>> small. This also can be scripted with all kinds of script >>> languages... no USB gimmick necessary. >> >> I was thinking along those lines too - either altering caffeine (I'm >> surprised they did not include an option for selecting the key press) >> or throwing together a quick app in VS, QT or something. > > Or even JScript/VBScript. Sending keystrokes from a script is a standard > task. > > Gerhard > --=20 > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .