"CopySpecial"

This token has not been fully integrated into the long-term Mathematica system, and is subject to change.


is a front end token that converts the selection to a specified format and copies it to the clipboard.

DetailsDetails

  • is equivalent to Edit ► Copy As.
  • has a parameter that can take one of the following values:
  • "PlainText"text with style information removed
    "InputText"plain ASCII text with added whitespace
    "CopyAsTeX" format
    "MathML"MathML format
    "CellExpression"one or more Cell[] expressions
    "NotebookExpression"a Notebook[] expression
    "MGF"Bitmap format; Windows only
    "EMF"Enhanced Metafile; Windows only
    "WAV"Wave format; Windows only
  • A typical use is FrontEndExecute[FrontEndToken[FrontEnd`SelectedNotebook[], "CopySpecial", "PlainText"]].
New to Mathematica? Find your learning path »
Have a question? Ask support »