SetScreenSaver

Description:

baSetScreenSaver allows you to set the screen saver file.

Platforms:

Windows

Usage:

Result = baSetScreenSaver( FileName )

Arguments:

String.
FileName is the file name of the screen saver.

Returns:

String.
Returns the file name of the previous screen saver.

Examples:

Director:
OldSS = baSetScreenSaver( "c:\windows\ss.scr" )

Authorware:
OldSS := baSetScreenSaver( "c:\\windows\\ss.scr" )
 

Notes:

You should use the full path name of the screen saver. A empty string will disable screen saving. This function will also enable the screen saver.
 

See also:

baDisableScreenSaver
baScreenSaverTime