Hello, minermbel:
You can place your .exe on the system dir, rename it to an .scr file
and this will work, but bear in mind your program will be called this
way:
-When the user selects your program from the screen saver combobox,
your program will be called with two parameters (/p and a number),
this is intended to provide a "preview" of your screensaver on the
sample monitor
-When the user presses the Preview button or the screensaver is
activated, your program will be called with /s parameter, this is
intended to run the screen saver on full screen mode
-When the user presses the Setup button, you program will be called
with /c and a number, this is intended to provide a configuration
dialog for the screensaver
So if you program doesn't care about input parameters you can do it, I
supose is to launch a process when the screensaver is activated.
In any case, if this solution doesn't fit your needs, I could post a
simple source code of an screensaver that calls a program. You decide
;-)
Regards. |