| View previous topic :: View next topic |
| Author |
Message |
Rocky Guest
|
Posted: Fri May 07, 2004 8:21 am Post subject: What 's "Save Document As" event mean? |
|
|
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

Joined: 15 Jan 2004 Posts: 118
|
Posted: Fri May 07, 2004 9:53 am Post subject: |
|
|
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 |
|
 |
Rocky Guest
|
Posted: Thu May 13, 2004 11:38 am Post subject: Re: |
|
|
Thanks.
I think it'll be excauted before real save.
Rocky |
|
| Back to top |
|
 |
|