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

the clipboard

clipboard()

Introduced
1.0
Changed
2.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the type of information on the clipboard.
Examples

if the clipboard is "text" then paste
if the clipboard is empty then answer "Nothing to paste!"

Additional Comments
Expander triangle

Check the clipboard function before using the paste command, to ensure that you're pasting the right kind of data.

Value:

The clipboard function returns text, image, objects, or empty.

Comments:

The value of the clipboard function is a string describing what kind of data is on the clipboard. Revolution can paste text that has been cut or copied, or picture content from an image, one or more objects that have been cut or copied.

If the clipboard has nothing in it, or the contents of the clipboard is a type of data that is not text, image data, or objects, the clipboard function returns empty.

Tip: To get or change the data on the clipboard, use the clipboardDataproperty.

Changes to Revolution:

The ability to sense image data on the clipboard was added in version 2.0.

User Comments
Expander triangle