OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How to launch ColorControl thru macro.

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
dvaradharajan
Power User
Power User


Joined: 02 Sep 2004
Posts: 81
Location: Chennai, India

PostPosted: Fri Nov 19, 2004 12:39 am    Post subject: How to launch ColorControl thru macro. Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group