Hi!
I have searched a lot but din't find answer for the following "problem".
How do I write the following OOBasic code in python, in particular
"document=..." and "dispatcher=..." statements?
sub tp1
dim document as object
dim dispatcher as object
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "ToPoint"
args1(0).Value = "$B$1"
dispatcher.executeDispatch(document, ".uno:GoToCell", "", 0, args1())
I am aware of other ways to use python but I just liked to know this.
Thanks for any help.
Paulo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]