Re: How to launch a random screensaver from a randomizer screensaver?

From: Severian (severian_at_chlamydia-is-not-a-flower.com)
Date: 02/22/05


Date: Tue, 22 Feb 2005 04:54:33 GMT

On 18 Feb 2005 21:12:32 -0800, weiserware@yahoo.com (WeiserWare)
wrote:

>Hi,
>
>I want to write a screensaver that when it launches, runs a randomly
>selected screensaver (ie. a randomizer). I have got such a
>screensaver working which works fine when run manually, but when the
>screensaver is invoked by Windows after a period of inactivity, the
>random screensaver is not shown (on Windows XP). I have read lots of
>stuff about secure desktops and jobs that terminate their child
>processes when they terminate, but haven't found an answer to this
>problem.
>
>I am using CreateProcess to launch the screensaver (when I receive a
>WM_CREATE message), then terminating the launcher screensaver with
>PostQuitMessage(0). If I don't terminate the launcher screensaver,
>then the random screensaver doesn't appear, even if run manually.
>
>I have tried different creation flags in CreateProcess but none make
>any difference.
>
>I know this is possible, becuase there are screensaver randomizer
>products out there that work. Does anybody know the trick to writing a
>screensaver randomizer?

My guess would be to let your randomizer keep running, but repost all
SS messages to the other screen saver. There may be other gotchas,
though.

--
Sev
--
Sev


Relevant Pages

  • How to launch a random screensaver from a randomizer screensaver?
    ... I want to write a screensaver that when it launches, ... processes when they terminate, but haven't found an answer to this ... If I don't terminate the launcher screensaver, ... becuase there are screensaver randomizer ...
    (microsoft.public.win32.programmer.ui)
  • Re: Net Send & Screensavers?
    ... alert message isthe best for me. ... It may be difficult to terminate when there ... You can find the clear screen saver in Resource Kit CD of windows 2000. ... then the screensaver just changed its appearance: ...
    (microsoft.public.win2000.security)
  • Re: Force Logoff in XP
    ... The force programs to terminate is actually a setting within the logoff ... screensaver winexit.scr. ... I have read where an ADM file is recommended, ...
    (microsoft.public.win2000.group_policy)
  • Anyone running a presentation in a screensaver?
    ... bulliten board of events) which loops continuously to let people know ... Our idea was to have it run as a screensaver so if ... I'm using an application called Groones RunScreen to run PPT viewer as ... Unfortunately I have to hit ESC 4 or 5 x to terminate the PPT loop. ...
    (microsoft.public.powerpoint)