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>