Hi, all!

I'd like to write a macro setting some of OOo's options (Menu Tools->Options)
programatically. Can this be done?

So far, by means of recording a macro, I've just got to:

   dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
   dispatcher.executeDispatch(document, ".uno:OptionsTreeDialog", "", 0,
Array())

which displays the options dialog. I guess using the right command URLs might do
it, but I cannot find this sort of info in the docs.

Thanks in advance. Cheers,

Jorge.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to