On 06.04.2009 04:13 in vtech-convert Peter Rejto wrote:
> Actually, all that I need is to copy the content of T-register 10 to
> the Windows clip-board. So, I tried to open a buffer and then use the
> previous keyboard macro to insert the content of T-register 10 and
> finally use clip_copy_block( ) to copy the content. Possibly and
> probably, there is a more direct way of doing this.
Reg_Copy_Block(r, p, q, CLIPBOARD) can be used for that.
This command copies the text region from position p to q into T-Reg r
and then T-Reg r into the clipboard.
With the following trick you can copy an already filled text register to
the clipboard without the need of a buffer or other resources:
Reg_Copy_Block(10, 0, 0, APPEND+CLIPBOARD)
It appends nothing from the current buffer to your T-Reg 10 and then
the T-Reg to the Clipboard.