KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q35259: How to Read the Contents of the M Editor Clipboard

Article: Q35259
Product(s): See article
Version(s): 1.00   | 1.00
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 31-MAR-1989

The Clipboard is contained in a pseudofile named <clipboard>. It can
be loaded the same way any other file is loaded. The contents of the
Clipboard pseudofile can be examined in several ways.

The pseudofile <clipboard> can be loaded with the command sequence Arg
textarg Setfile, which is ALT-A <clipboard> F2 in default keystrokes.
This process loads the named file. The contents of the clipboard then
can be seen on the screen, and even can be edited and saved as a
separate file.

The file also can be loaded by bringing up the information file with
the INFORMATION function (SHIFT-F1).

Finally, if the clipboard is the file most recently switched from, the
SETFILE function (F2) alone will call it up.

The information file describes the nature of the Clipboard contents in
two ways. The Clipboard line appears in the form in the list of
files, as follows:

<clipboard>                    *n lines

Additionally, at the bottom of the information file is a line that
gives information in one of two ways, as follows:

n lines in line clipboard

n lines in box clipboard

This information indicates whether the Clipboard holds a block of text
or a stream of text.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.