Hello!
I wrote the most simple macro, writing just one letter. Here is its code:
sub letter_m
dim document as object
dim dispatcher as object
document =This.Component.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dim args(0) as new com.sun.star.beans.PropertyValue
args1(0) .Name = "Text"
args1(0) .Value = "Value"
dispatcher.executeDispatch(document, " .uno:InsertText", "", 0, args1())
end sub
Please, what meant args1(0)
p.s. Any links about this would be extremely helpfull!
I appologise, cause I am a beginner, and did not manage to google sth for my level
MANY THANKS!!!