Use the clipboardTag(s): Powerscript


Extract data from the clipboard
String ls_value

ls_value = Clipboard()
Put data into the clipboard
Clipboard("Hello")
A special attention is needed when calling Clipboard in a DataWindow control or DataStore object. To retrieve or replace the contents of the system clipboard with text from a DataWindow item (cell value), you must first assign the value to a string and then call the system Clipboard function as follows:
string ls_data = dw_1.object.column_name[row_number]

::Clipboard(ls_data)
That's because the DataWindow has is own Clipboard function and it is only applicable to graphs.

To store bitmap into the clipboard, you need to use some Windows API. See this article

See this related howto
See also this related howto


blog comments powered by Disqus