.CLIENT GET CLIPBOARD

This subroutine gets the current content of the system clipboard.


Usage:

      PASS         <clip_data>                FIELD            SHARE? Y
      PASS         <num_chars>                FIELD            SHARE? Y
      GOSUB    --- .CLIENT GET CLIPBOARD
      *        check for errors
      IF       --- .CLIENT GET CLIPBOARD      NE

Description:

This subroutine gets the current text content of the system clipboard. The first parameter is required, if it is missing the subroutine will CANCEL.

<clip_data> is the data returned from the clipboard (Required). This field must be PASSed with Share "Y" to receive the value.

<num_chars> returns the number of characters on the system clipboard (Optional). This field must be PASSed with Share "Y" to receive the value.

If <clip_data> is not large enough to hold the requested number of characters, --- .CLIENT GET CLIPBOARD will contain 'Clipdb chars truncat'.

Note that this can only retrieve text from the clipboard. Other types of data are not supported and will be ignored.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2012-02-01

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2012-02-02 - JeanNeron
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback