in reply to Re^2: Activating a screen saver problems
in thread Activating a screen saver problems
By "be in the screensaver directory", I only meant that you have to run my script from wherever the screensavers are located. In my case it's C:\WINNT\system32, in your case it's apparently C:\WINDOWS\system32. But since you're giving the whole path, that's fine too.
The #!/usr/bin/perl -w line is not as important in Windows as in Linux, although the -w is quite useful (it enables "warnings"). You can read about "warnings" and "strict" in the perllexwarn documentation.
I wrote a screensaver in Perl several years ago (haven't finished it though), and remembered there was a way to invoke a screensaver from the command line. A search quickly led me to the /s switch.
Good luck and much enjoyment with your continued path in Perl!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Activating a screen saver problems
by palkia (Monk) on May 28, 2012 at 19:13 UTC | |
by golux (Chaplain) on May 29, 2012 at 03:37 UTC | |
by palkia (Monk) on May 29, 2012 at 19:12 UTC |