# Computer Object The Computer object represents a computer. Members Table The following table lists the members provided by the Computer object.
Members
Properties | Description
CurrentSessionIndex | Computer's current session index.
Description | Description of the computer.
GUID | The computer's globally unique identifier (GUID).
Index | Index number.
IPAddress | Current IP address.
Name | Name of the computer.
Online | Current online status.
Methods | Description
CloseLastSession | Closes the last session.
ExecuteJavascript | Causes the computer to execute a javascript file.
SendCustomMessage | Sends a message to the computer.
StartSession | Starts a session.
Remarks This object is returned by the GetComputerByIndex or Item method. Use the Computer object to control a SiteCafe computer or to receive information about it. Examples The following example displays the name of the first computer.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    computer = SiteCafe.Server.Computers.GetComputerByIndex(1);
    alert(computer.Name);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top