Hi,
I'm using LabWindows CVI V5.5.1 on Windows 98 to write an automated
test program. To prevent possible interference from screen saver
activities, I want to disable the screen saver before testing and then
enable it again when testing is complete. I was hoping to use the
GetScreenSaver/SetScreenSaver combination of functions from the
programmer's toolbox. I can disable the screen saver by using
SetScreenSaver(FALSE, SleepTime, NULL), but to re-enable it, I need
the path of the original .scr file used - i.e. SetScreenSaver(TRUE,
SleepTime, scr_path). Strangely, GetScreenSaver retrieves the enabled
status and the sleep time, but not the path! I tried
SetScreenSaver(TRUE, SleepTime,
NULL) to no avail. Any help on how I
might find the path of an active screen saver file would be
appreciated.
Thanks in advance,
John.