OnComputerNameChanged Event
Fires when the computer name changed.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
OnComputerNameChanged = handler
|
Parameters
newName |
String that contains the new name. |
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example displays the new computer name when it changed.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
SiteCafe.OnComputerNameChanged = OnComputerNameChanged;
function OnComputerNameChanged(newName)
{
alert(newName);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top