|
Get Screen Saver
The following example shows getting screen saver by reading windows registry.
1 | Dim WSHShell, RegKey, ScreenSaver |
2 | Set WSHShell = CreateObject( "WScript.Shell" ) |
4 | deskTopRegKey = "HKCU\Control Panel\Desktop\" |
7 | ScreenSaver = WSHShell.RegRead(deskTopRegKey & "SCRNSAVE.EXE" ) |
9 | WScript.echo "Screen Saver: " & ScreenSaver |
|
|
|