ummm ... that doesn't copy to clipboard ???

code:
function btnCopy_Click()
$txtTarget.SetFocus
$txtTarget.SelStart = 0
$txtTarget.SelLength = -1
$txtTarget.SelText = $txtTarget.Text
$txtTarget.Copy
endfunction

_________________________