SiteKiosk Documentation
One Step Back

HasText Method




The HasText method returns whether the clipboard contains text.


Syntax

    [bool=] SiteKiosk.Clipboard.HasText()
    
Return Value
    Returns a boolean value that indicates whether the clipboard contains text.
Remarks
    None.
Examples
    The 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("Clipboard contains 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 -