Hi erveryone, hi Beau first,thank you for the answer. I read the dokumentation for Win32::Console, but I do not find a way to SET the capslock or scrolllock key. I only find a way to read the status of the key's. Maybe I do not understand the System how this is handeld. Could someone give me maybe some hint.
Stefan -----Ursprüngliche Nachricht----- Von: Beau E. Cox [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 5. März 2004 13:29 An: [EMAIL PROTECTED] Cc: Stefan Lubitz Betreff: Re: Disable Screensaver with Keyboard input On Friday 05 March 2004 02:16 am, Stefan Lubitz wrote: > Hi there, > > I have the problem that after 10 minutes the Screensaver of my PC is > getting activated. I am not able to change it, because it is a W2k > Domain policy. Now I thought, that I could write a small Perl Script, > which is turning on and off the Scrolllock Key, means "simulating" a Keyboard input. > Does anyone know how to do this with Perl? Or is there another solution? > > Best regards ant thanks for your answers, Stefan Stefan - It's been a while since I used Windows (I've moved on to Linux - a real operating systen ;) ), but I think you can do something with W32::Console. Have a look at the docs on CPAN (or is it a domain policy that you cannot install CPAN modules?). Aloha => Beau; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>