Skip to content

PASTESPEC Command

github-actions[bot] edited this page Nov 15, 2026 · 2 revisions

PASTESPEC (Command)

Pastes the clipboard in a format you choose: as objects, as a block, as multiline text, as a table, as a table linked to its spreadsheet file, or as an image linked to a file or stored in the drawing.

Command PASTESPEC
Web app Available
Since 2026.44

Usage

  1. Start PASTESPEC.
  2. At Paste as, type the format you want, or press Enter for the first one offered.
  3. For Objects or Block, continue as in PASTECLIP or PASTEBLOCK.
  4. For Text, Table or Link, specify the insertion point.
  5. For Image or Embedded image, specify the insertion point (the lower-left corner of the image) and then the width, or press Enter for the default width, as in IMAGEATTACH and IMAGEEMBED.

Options

Option What it does
Objects (O) Pastes the objects copied in the program, the same as PASTECLIP.
Block (B) Pastes the copied objects as a new block, the same as PASTEBLOCK.
Text (T) Pastes the text on the system clipboard as a multiline text object.
Table (TA) Pastes cells copied in a spreadsheet, or a table copied in a word processor, as a table object.
Link (L) Pastes cells copied in a spreadsheet as a table linked to those cells of the spreadsheet file, the way DATALINK links a table.
Image (I) Pastes the picture on the system clipboard as an image the drawing links to. The picture is saved as a PNG file next to the drawing.
Embedded image (E) Pastes the picture on the system clipboard as an image stored inside the drawing, so the drawing file travels alone.

Notes

  • The prompt lists only the formats that are available: Objects and Block need objects copied in the program; Text needs text on the system clipboard; Table needs that text to be in rows of cells, as a spreadsheet copies a range; Link needs those cells to come from a spreadsheet file that has been saved; Image and Embedded image need a picture on the system clipboard (a screenshot, a picture copied in an image editor or a browser, or the picture a spreadsheet adds to a copied range).
  • If the clipboard holds none of these, the command says so and ends.
  • Pasted text uses the current text style and height. Each line of the clipboard text becomes a paragraph, and the text is placed by its top-left corner.
  • A pasted table uses the current table style and the column width of TABLE. Every row is a data row, with one row for each row of cells copied; a cell with several lines stays one cell. The table is placed by its top-left corner, and its cells can be edited like those of any other table.
  • Link reads the cells from the spreadsheet file, not from the clipboard, so save the spreadsheet before copying. The drawing gets a data link named after the file, to the copied sheet and cell range, with the file's full path. After the file changes, DATALINKUPDATE refreshes the table; the link can be edited in the Data Link Manager of DATALINK. If the file cannot be read, the command says so and places nothing.
  • Link is offered on Windows only: the other systems and the web app do not get the link from the clipboard.
  • Image saves the picture in the folder of the drawing, or in the program's settings folder if the drawing has not been saved yet. If that file is moved or deleted, the drawing loses the picture; Embedded image has no file to lose.

Related

PASTECLIP · PASTEBLOCK · COPYCLIP · MTEXT · TABLE · DATALINK · DATALINKUPDATE · IMAGEATTACH · IMAGEEMBED


Command Reference · System Variables

Clone this wiki locally