Mathias Bauer wrote:
If having this for Writer or Calc only is enough, there is a simpler way
of copying/pasting code. You can get the current selection into a
clipboard object by calling
obj = ThisComponent.CurrentController.getTransferable()
and (after moving the cursor to the desired destination) copy it by calling
ThisComponent.CurrentController.insertTransferable(obj)
I'm gonna try this, thanks!
--
peace, love & harmony
Atte
http://atte.dk | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]