| View previous topic :: View next topic |
| Author |
Message |
boonteng Newbie

Joined: 18 Dec 2006 Posts: 2
|
Posted: Mon Dec 18, 2006 4:34 am Post subject: How to run OpenOffice.org Basic macro in the background? |
|
|
Hi,
I have created an OpenOffice.org Calc Basic macro in 2.0.4. It can be ran manually using Tools | Macros | Run Macro. Could anyone advise how to run the macro in the background, like using a DOS bat file or any other method?
Thanks in advance. |
|
| Back to top |
|
 |
pitonyak Administrator


Joined: 09 Mar 2004 Posts: 3618 Location: Columbus, Ohio, USA
|
Posted: Mon Dec 18, 2006 7:47 am Post subject: |
|
|
You can run macros from the command line:
Run a macro from the command line by specifying the name:
| Code: | | soffice.exe macro:///standard.module1.macro1 |
In this example, “standard” is the library name, “module1” is the module name, and “macro1” is the name of the macro. Now, you just need to trigger your batch file periodically. _________________ --
Andrew Pitonyak
http://www.pitonyak.org/oo.php |
|
| Back to top |
|
 |
boonteng Newbie

Joined: 18 Dec 2006 Posts: 2
|
Posted: Wed Dec 20, 2006 2:32 am Post subject: got it, thanks |
|
|
| thanks |
|
| Back to top |
|
 |
|