As far as I'm aware, the screensaver comes on after X mins of keyboard and mouse inactivity, not computer inactivity, so running a script of any sort like that won't help. You need to simulate keyboard/mouse messages..
C.
Comment on Re: Run Perl in Task scheduler to eliminate screensaver