Clipboard Object
The Clipboard object provides access to the clipboard.
Members Table
The following table lists the members provided by the Clipboard object.
|
Properties |
Description |
Text |
Contains the clipboard text. |
|
Methods |
Description |
Clear |
Deletes the clipboard content. |
HasText |
Returns whether the clipboard contains text. |
|
Remarks
This object is available through the main object SiteKiosk.
Use the Clipboard object to read or write the clipboard text.
Note that the path of a file using SiteKiosk objects must be allowed in the
SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
if it is not a browser skin file.
Examples
Thge following example determines whether the clipboard contains text and shows it in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
if (SiteKiosk.Clipboard.HasText())
{
alert(SiteKiosk.Clipboard.Text);
} else alert("Clipboard contains no text");
</SCRIPT>
|
Applies to
SiteKiosk v5.5 (and later versions).
Back to top