Online Help
Clipboard is an action plugin that can be used to move text to and get text from the Windows clipboard.
Both 32-bit and 64-bit versions of the Clipboard action plugin are available in supported products. Action names and categories are identical, however when adding them to projects the 32-bit plugin is named "Clipboard" while the 64-bit version is named "Clipboard (64-bit)." Choose the appropriate version of the plugin based on whether the runtime using the plugin is a 32-bit or 64-bit executable.
Copies a string of text to the Windows clipboard.
(string) The text to copy to the clipboard.
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
-- Copy some text to the clipboard
Clipboard.CopyText("Hello World");
Retrieves text from the Windows clipboard.
(string) A string of text from the clipboard, if available. If there is no text available an empty string will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
-- Display text from the clipboard in a message box
CBText = Clipboard.GetText();
Dialog.Message("Clipboard Text", CBText);
Determines whether text is available on the Windows clipboard.
(boolean) True if text is available or false if text is not available. You can use Application.GetLastError to determine whether this action failed, and why.
-- Is there any text on the clipboard?
bTextAvailable = Clipboard.IsTextAvailable();
-- Inform the user
if bTextAvailable then
Dialog.Message("Status", "There is text on the clipboard!");
else
Dialog.Message("Status", "There is NO text on the clipboard!");
end
12010 - Failed to open clipboard.
Indigo Rose Corporation
http://www.indigorose.com/support/
Plugin is copyright © 2003-2018 Indigo Rose Software Design Corporation.
Copyright © 2018 Indigo Rose Software Design Corporation.
All Rights Reserved.