Screen Saver
Page 1 of 1
Screen Saver how do I integrate my screen saver program with Windows environment
#1
Posted 07 August 2007 - 02:30 AM
I have an almost finished screen saver progrram, which rceives a search term in its search box, and displays on screen cartoons related to this search terms. The caroons are drawn directly from an online database. Now the problem I am having is how can I integrate this with the windows environment, so that when the pC is idle, its my cartoons that show up on the screen, and not the defalt ones?
#3
Posted 07 August 2007 - 07:03 AM
A screensaver is a simple program, that reacts to different command line switches:
- /S on the command line when Windows wants to run the Screen Saver or the user tests it.
- /P and a window handle to create the preview window on the Display Properties Dialog Box
- /A and a window handle when the user wishes to change the Screen Saver password.
I think it is enough to care about the first one, and do nothing about the others (maybe you can even get away without checking them at all)
Anyway the TODO (theoretically):
- create a jar
- use some jar to exe tool (I am sure Amadeus has posted it a couple of times in different topics, but right now I can't remember what and where was it)
- rename the exe to scr
Check if it works, and sorry if it doesn't, it was only an "educated guess".
- /S on the command line when Windows wants to run the Screen Saver or the user tests it.
- /P and a window handle to create the preview window on the Display Properties Dialog Box
- /A and a window handle when the user wishes to change the Screen Saver password.
I think it is enough to care about the first one, and do nothing about the others (maybe you can even get away without checking them at all)
Anyway the TODO (theoretically):
- create a jar
- use some jar to exe tool (I am sure Amadeus has posted it a couple of times in different topics, but right now I can't remember what and where was it)
- rename the exe to scr
Check if it works, and sorry if it doesn't, it was only an "educated guess".
#6
Posted 08 August 2007 - 03:59 AM
Page 1 of 1

Start a new topic
Add Reply




MultiQuote




| 


