Re: screensaver prevention

2004-09-03 Thread Chris Devers
On Fri, 3 Sep 2004, JP wrote: Why not just change it in the system settings? Because my administrator turned off the permissions to change te settings Ok, that changes everything. This was worth mentioning in your first mail! :-) -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:80

Re: screensaver prevention

2004-09-03 Thread Chris Devers
On Fri, 3 Sep 2004, JP wrote: Here is what I've been trying: It's good that your using 'use strict', but you have to be aware that this changes how you have to write your code. The 'use strict' pragma forces you to explicitly declare variables by prefixing them with "my" the first time they are

Re: screensaver prevention

2004-09-03 Thread JP
Here is what I've been trying: #!perl use warnings; use strict; use Win32::API; use Tk::CursorControl; $cursor->moveto(0, 0, -time=>1000); but I receive an error: Global symbol "$cursor" requires explicit package name at D:\tmp\ste.pl line 9. Execution of D:\tmp\ste.pl aborted due to compilat

Re: screensaver prevention

2004-09-03 Thread JP
> Why not just change it in the system settings? Because my administrator turned off the permissions to change te settings > > If that's not good enough, why not have Perl poke at the registry so > that it can change the system settings? I don't want to poke around on somebody elses system; it is

RE: screensaver prevention

2004-09-02 Thread Chris Devers
On Thu, 2 Sep 2004, Dave Kettmann wrote: Maybe he doesnt have admin access to the machine? :) Just a thought... You mean the screen saver isn't a user-level setting? How bizarre... -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Santaland Diaries (complete)' by

RE: screensaver prevention

2004-09-02 Thread Dave Kettmann
Maybe he doesnt have admin access to the machine? :) Just a thought... Dave > -Original Message- > From: Chris Devers [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 3:41 PM > To: JP > Cc: [EMAIL PROTECTED] > Subject: Re: screensaver prevention > &g

Re: screensaver prevention

2004-09-02 Thread Chris Devers
On Thu, 2 Sep 2004, JP wrote: Does anyone have a brilliant idea how to prevent my windows NT screensaver from starting using perl? Why not just change it in the system settings? If that's not good enough, why not have Perl poke at the registry so that it can change the system settings? Why use P