dvaradharajan Power User


Joined: 02 Sep 2004 Posts: 81 Location: Chennai, India
|
Posted: Fri Nov 19, 2004 12:39 am Post subject: How to launch ColorControl thru macro. |
|
|
Hi,
I want to lauch color control(Which can be accessed by fontcolor and backcolor toolbar items) thru macro. I tried using the following code but it is not working..
| Code: | oDispatchHelper = createUnoService( "com.sun.star.frame.DispatchHelper" )
oDispatchHelper.executeDispatch( oDocFrame, ".uno:FontColor", "", 0, Array() ) |
Any inputs..
Thanks,
Dinesh _________________ There's always one more bug- Murphy's law |
|