Alas, this is a limitation of the OOo macro recorder. As you asked, it opened the dialog.

I am of the opinion that you will want to obtain the current selection, and then set the *CharColor* property to the desired value directly. For example:

 Dim oSels
 Dim i As Integer
 oSels = ThisComponent.getCurrentController().GetSelection()
 For i = 0 To oSels.getCount()-1
   oSels.getByIndex(i).CharColor = RGB(128, 0, 0)
 Next

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html

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

Reply via email to