Difference: 0LASubrClientGetClipboard (1 vs. 2)

Revision 22012-02-01 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.CLIENT GET CLIPBOARD

Line: 9 to 9
 
      PASS         <clip_data>                FIELD            SHARE? Y
      PASS         <num_chars>                FIELD            SHARE? Y

Deleted:
<
<
PASS <max_chars> FIELD SHARE? N
  GOSUB --- .CLIENT GET CLIPBOARD
    • check for errors IF --- .CLIENT GET CLIPBOARD NE
Line: 18 to 17
 

Description:

Changed:
<
<
This subroutine gets the current content of the system clipboard. The first two parameters are required, if any are missing the subroutine will CANCEL. The <max_chars> field is optional.
>
>
This subroutine gets the current text content of the system clipboard. The first two parameters are required, if any are missing the subroutine will CANCEL. The <max_chars> field is optional.
  <clip_data> is the data returned from the clipboard (Required). This field must be PASSed with Share "Y" to receive the value.
Changed:
<
<
<num_chars> is the number of characters on the system clipboard (Required). This field must be PASSed with Share "Y" to receive the value.

<max_chars> is the maximum number of characters you want read from the clipboard (Optional). If not PASSed, the default is 32,767.

>
>
<num_chars> returns the number of characters on the system clipboard (Required). 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'.
Added:
>
>
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.

Revision 12012-02-01 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.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
      PASS         <max_chars>                FIELD            SHARE? N
      GOSUB    --- .CLIENT GET CLIPBOARD
      *        check for errors
      IF       --- .CLIENT GET CLIPBOARD      NE

Description:

This subroutine gets the current content of the system clipboard. The first two parameters are required, if any are missing the subroutine will CANCEL. The <max_chars> field is optional.

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

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

<max_chars> is the maximum number of characters you want read from the clipboard (Optional). If not PASSed, the default is 32,767.

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

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2012-02-01

 
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