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

What 's "Save Document As" event mean?

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





PostPosted: Fri May 07, 2004 8:21 am    Post subject: What 's "Save Document As" event mean? Reply with quote

Hi,

I'd like to wrtite macro script and assign it to OpenOffice event "Save Document As". Is it excuted before document is saved or after document is saved, or just excute my script, not really write to disk?

Thanks.

Rocky
Back to top
Henrik
OOo Enthusiast
OOo Enthusiast


Joined: 15 Jan 2004
Posts: 118

PostPosted: Fri May 07, 2004 9:53 am    Post subject: Reply with quote

Hi,
it sounds very likely that your macro/script will be executed before the document is saved... This would allow your script to make changes before saving. The document will be saved to disk after your macro has finished.

I don't know if this is still a problem but there has been an issue with getting the events under Tools->Configure->Events to actually fire (or maybe it was only the Open Event that had this problem...). Look at the following post on how to solve this:

http://www.oooforum.org/forum/viewtopic.php?t=5625&highlight=document+open+event


HTH,
Henrik
Back to top
View user's profile Send private message
Rocky
Guest





PostPosted: Thu May 13, 2004 11:38 am    Post subject: Re: Reply with quote

Thanks.

I think it'll be excauted before real save.

Rocky
Back to top
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