DLLGetClipboardText()

DLLGetClipboardText()
  • SYNOPSIS:
    succ = DLLGetClipboardText$([iBufferSize])
  • DESCRIPTION:
    This command allows you to get ASCII text from the system clipboard.

    Note that in order for this to work, a buffer is required to be passed with DLLGetClipboardText(), which defaults @ 32768 bytes. You can increase or decrease this as much as you like. But be warned, if the text on the clipboard is larger than the number of bytes specified, any additional text will be cut off... Which is why I opted for a large buffer rather than a small one. Alternatively, you can use DLLGetClipboardTextDataSize() to get the size of the data on the clipboard, or DLLEZGetClipboardText$() to do it all for you :).

  • PARAMETERS:
    iBufferSize (optional) The size of the clipboard output buffer. (How much text can be retrieved from the clipboard)
  • RETURNS:
    A string containing the text contents of the system clipboard.
  • EXAMPLE:
    See Example013.bb
  • BUGS:
    None Known.

Return To Index
Problems with this command or bugs? EMail me at: mailto:loki.sd@blueyonder.co.uk

Section Last Updated: Sunday, January 27, 2002 8:23 PM GMT

All materials used in this help, related sources and binaries are (C)opyright Rob Hutchinson, Joseph Cox and Tarropithium Software 2002. All rights reserved. All software is provided without warranty unless otherwise stated.
Tarropithium Software or the authors will not be held liable for any damage or data loss that may occur during the application of this software. Use it at your own risk!