RichText.Paste

RichText.Paste (

string ObjectName )

Example 1

-- Check if the clipboard content can be pasted.
if (RichText.CanPaste("RichText1")) then
-- Paste the clipboard contents into the object.
RichText.Paste("RichText1");
end

Checks if the clipboard contents can be pasted into the object using the RichText.CanPaste action, and then pastes it into the richtext object named "RichText1."

See also: Related Actions