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.

    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.
    Thge following example determines whether the clipboard contains text and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    if (SiteKiosk.Clipboard.HasText())
    } else alert("Clipboard contains no text");

Applies to
    SiteKiosk v5.5 (and later versions).

Back to top