Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'One problem with the screen saver' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
One problem with the screen saver
Authored by: teridon on Jan 30, '02 02:56:29PM

If the screen saver is active when the randomizer runs, it sorta gets confused. It only displays images it has previously displayed.

For example, if the randomizer runs 30 seconds after the screen saver activates, you only get to see the first two or three pictures in the slide show.

To fix this, the randomizer should check to see if the ScreenSaverEngine process is running.



[ Reply to This | # ]
One problem with the screen saver (fix)
Authored by: teridon on Jan 31, '02 04:21:03PM

Put this at the beginning of the script.

# Check for ScreenSaver currently active
@process_list = `ps auxw | grep ScreenSaver | grep -v grep`;
exit if (length(@process_list) > 0);



[ Reply to This | # ]