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

Enable OpenOffice Macro through Command Line

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw
View previous topic :: View next topic  
Author Message
indraveni
General User
General User


Joined: 15 Feb 2006
Posts: 12

PostPosted: Sun Jun 04, 2006 9:55 pm    Post subject: Enable OpenOffice Macro through Command Line Reply with quote

Hi there,

I have given the following command for the excution of my macro:

soffice "/root/BOSSbdcLibraries/BossBulkDocConverter.sxd" "macro://BossBulkDocConverter/Standard.DocConverter.Main"

This is opening Openoffice draw and waiting for the user to click on Enable Macros and then excuting the macro.

But I dont want to open the openoffice nor it shdould wait for anytype of human interaction. As soon as I will give the command , even if the openoffice is closed it should execute teh macro.

Is there wny method to achive this through command Line....

HELP NEEDED PLEASE -- URGENT

Any Help will be appreciated

Thankyou
_________________
Regards,
K.Indraveni
Back to top
View user's profile Send private message Yahoo Messenger
james_h
Super User
Super User


Joined: 05 Nov 2005
Posts: 883

PostPosted: Mon Jun 05, 2006 7:45 pm    Post subject: OOo 2: How to run macro without confirmation dialog Reply with quote

OpenOffice.org 2: How to run macro without confirmation dialog

Move the file containing the macro in a new directory created just for trusted macros.
Tools > Options > OpenOffice.org > Security
Click Macro Security...
Click Trusted Sources
Click Add
Browse to the directory you created for trusted macros.
Click Select
Click OK
Click OK

OpenOffice.org 2: How to run OpenOffice.org without showing it

In the command line, use an -invisible or -headless parameter. The help system describes the differences between the two. Hit the F1 key and click Find. Use headless as a search term.
Back to top
View user's profile Send private message
indraveni
General User
General User


Joined: 15 Feb 2006
Posts: 12

PostPosted: Tue Jun 06, 2006 1:07 am    Post subject: Reply with quote

My requirement is such that I I should not open the the open office even for setting the cerating a folder for secured macros also. Is there a way to set the from command lind plese....
_________________
Regards,
K.Indraveni
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw 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