Error getting tags :
error 404Error getting tags :
error 404 paste | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
paste
Basics
Expander triangle
Type
Command
Syntax

paste

Introduced
1.0
Changed
2.9
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Windows,Linux
Security
None required
Summary
Pastes the contents of the clipboard into the selection or insertion point.
Examples

paste
if the clipboard is "text" then paste

Additional Comments
Expander triangle

Use the paste command to place objects, an image, or text on the current card.

Comments:

If there is an active field (one that contains the caret) and a text format is on the clipboard, text will be pasted into the field.

If there is an image selection (the image selection tool is active and a region of an image is selected) and image data is on the clipboard, then the image data will be pasted into the selection.

If the defaultStack is modifiable and there are objects on the clipboard, they will be pasted onto the current card of the defaultStack.

If the defaultStack is modifiable and there is image data on the clipboard, a new image object will be pasted onto the current card of the defaultStack.

Unless overidden by script, the standard paste keyboard shortcuts will have the same acion as the paste command except that the pointer tool must be selected for objects to be pasted.

The paste command is equivalent to choosing Edit menuPaste.

User Comments
Expander triangle
User thumbnail
Peter Brigham
StarStarStarStarStar
Dec 12, 2010
Note that if you paste text into a field, the closeField message is not sent after the focus leaves the field, ie, the field is not flagged as having had its contents changed. The "paste" command appears to be equivalent to "put the clipboarddata["text"] into the selection."