Error getting tags :
error 404Error getting tags :
error 404 pasteKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
pasteKey
Basics
Expander triangle
Type
Message
Syntax
pasteKey
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent when the user presses the key combination equivalent to the "Paste" menu item.
Examples

on pasteKey -- replace returns with spaces before pasting
if the clipboardData["text"] is not empty then set \
the clipboardData["text"] to \
replaceText(the clipboardData["text"],return,space)
paste
end pasteKey

Additional Comments
Expander triangle

Handle the pasteKey message if you want to change the normal pasting process, or prevent use of the Paste keyboard equivalent without changing the menu.

Comments:

The Revolution development environment traps the pasteKey message, unless "Suspend Revolution UI" is turned on in the Development menu. This means that the pasteKey message is not received by a stack if it's running in the development environment.

The pasteKey message is sent when the user presses Command-V (on Mac OS systems), Control-V (on Windows systems), Shift-Insert (on Unix systems), or the keyboard Paste key.

User Comments
Expander triangle