Fernand Vanrie wrote:

this code works in basic

I know, cause you showed me that before. However I'm in python so I need to understand a it more of what's going on. Esp a more detailed explanation about "select the textpotion" is unclear to me. How do I tell the dispatcher which textRange I want to copy from?

As mantioned in another post, I did:

controller = doc.getCurrentController()
controller.select(rangeCursor)
frame = controller.getFrame()
properties = ()
dispatch_helper.executeDispatch(frame, ".uno:Copy", "", 0, properties)

and assumed that this would set the range, which apparently wasn't the case...

I really hope someone can help me.

--
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]

Reply via email to