ExitWindows

Description:

baExitWindows exits or restarts Windows.

Platforms:

Windows

Usage:

baExitWindows( Option )

Arguments:

String.
Option is the type of exit. Can be:
"reboot"  reboots the system
"restart"  restarts Windows
"logoff"  logs off Windows
"shutdown"  shuts down the system
"poweroff"  powers off the system

Returns:

Void.

Examples:

Director:
baExitWindows( "reboot" )

Authorware:
baExitWindows( "reboot" )
 

Notes:

Not all versions of Windows support all the restarting options. If a particular function is not available, then another mode will be substituted according to the following table.

The system security settings may prohibit some of these options from operating.

 

          95/98/ME                 NT/2000/XP/Vista        
"reboot" reboot reboot
"restart" restart reboot
"shutdown" shutdown shutdown
"logoff" logoff logoff
"poweroff" poweroff poweroff