Screen.SetStartScreen

Screen.SetStartScreen ( 

string ScreenName )

Example 1

-- Get the operating system's version info.
tbVersionInfo = System.GetOSVersionInfo();

-- Check to make sure the version info was received successfully.
if (tbVersionInfo) then
     -- Check to see if the system is a server system.
    if (tbVersionInfo.ProductType == 3) then
        -- Set the start screen to the Server type block of screens.
        Screen.SetStartScreen("Server Welcome");
    end
end

Checks to see if the target system is a type of server operating system and if so, sets the screens to start at the block designed for servers.

See also:  Related Actions