Page 1 of 1

Copying to the clipboard

Posted: Thu Sep 18, 2008 6:48 am
by Alistair
I am trying to copy data to the clipboard. I have tried using the following but without success:

copy line 4 to 4+datagrabbed of cd fld "pathData"

I then tried simplifying the script but still no success. The dictionary explanation of the Copy command seems quite straightforward so I'm perplexed that nothing I try results in text being transferred to the clipboard. What am I missing?

Posted: Thu Sep 18, 2008 9:13 am
by Mark
Hi Alistair,

There are two ways to do this.

Code: Select all

select line 4 of fld "Your Field"
copy
or

Code: Select all

set the clipboarddata["text"] to line 4 of fld "Your Field"
Best,

Mark

Posted: Wed Sep 24, 2008 1:21 am
by Alistair
For some reason I wasn't able to get the first option to work but the second option achieved just what I wanted, so thanks.