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

problem in calling openoffice macro from perl

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


Joined: 13 Feb 2006
Posts: 7

PostPosted: Tue Feb 28, 2006 4:48 am    Post subject: problem in calling openoffice macro from perl Reply with quote

hi,

I want to execute a macro from perl script and this will done by following code

system("soffice -invisible \"macro:///Standard.Module1.SelectionCount($Full_File)\"");


but this will open the openoffice window but not close it
so know what command i use to close that window

please help me

thanks in advance
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3533
Location: Hamburg, Germany

PostPosted: Tue Feb 28, 2006 10:45 am    Post subject: Re: problem in calling openoffice macro from perl Reply with quote

manish wrote:
system("soffice -invisible \"macro:///Standard.Module1.SelectionCount($Full_File)\"");

but this will open the openoffice window but not close it
so know what command i use to close that window

Did you try "-headless" instead of "-invisible"?

With kind regards
hol.sten
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 Writer 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