SiteKiosk Documentation
One Step Back

Clipboard Object




The Clipboard object provides access to the clipboard.


Members Table

    The following table lists the members provided by the Clipboard object.

    Members
    PropertiesDescription
    TextContains the clipboard text.
    MethodsDescription
    ClearDeletes the clipboard content.
    HasTextReturns 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -