SendCustomMessage Method



 
The SendCustomMessage method sends a message to the computer.


Syntax

    Computer.SendCustomMessage(messageID, message)
    
Parameters
    messageID Long value that specifies the message ID.
    message String that specifies the message.
Return Value
    None.
Remarks
    None.
Examples
    The following example sends a message to the first computer.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    computer = SiteCafe.Server.Computers.GetComputerByIndex(1);
    computer.SendCustomMessage(1, "Example message");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top