GetComputerByIndex Method
The GetComputerByIndex method returns a computer by index.
Syntax
[obj=] SiteCafe.Server.Computers.GetComputerByIndex(index)
|
Parameters
index |
Long value that specifies the computer index. |
Return Value
Returns a Computer object representing the specified computer.
Remarks
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