The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developing Scripts on the Command Line

For users who do not wish to develop their Office Scripts using an IDE there is a simple command line interface built into the Office Scripting module which can be used for the generation and deployment of Office Scripts.

Contents

Prerequisites

The CommandLineTools class

The CommandLineTools class takes the following options (Note: Options in angle brackets "<>" are required, options in square brackets "[]" are optional):
-g [Path to Parcel directory] [options]

Generates a Script Parcel for the given the parcel directory. The parcel name will be the name of the parcel directory plus the .sxp extension.

-d <Path to Script Parcel> <Target Directory|Document>

Deploys the given Script Parcel to a directory or an OpenOffice.org document. A directory will be created with the name of the Parcel and the contents of the Parcel will be put into that directory.

Top

Examples

Top


Last Modified: Tue Mar 12 11:40:28 GMT 2003

Apache Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.