StartWord utility

The utility allows users to run the program MS Word, open a document (*.mpp) and possibly run a macro with parameters.
The utility StartWord (the file StartWord.exe is located in the subdirectory Bin of the installation directory) can be run with the following parameters:

Declaration startword [/Q] [/I] fullDocPath [StartMacro [ param1 .. paramN ]]
Parameters
/Q Enables writing possible errors into the log file (startword.log) and termination the utility StartWord if any errors occur.
/I Runs the MS Word as visible. Optional parameter.
fullDocPath Full path to the document (*.doc).
StartMacro Optional name of macro in the document, that is to be executed.
param1 .. paramN Optional parameters of the macro StartMacro.
Description The utility StartProject runs the MS Word. If the parameter /I is defined, the MS Word will be opened as visible. If the parameter /Q is entered, any errors will be written into the file startword.log and the utility StartWord will be terminated.
Then the file defined by the parameter fullMppPath will be opened and the macro StartMacro will be called with optional parameters param1 .. paramN. The macro must be implemented in the file.
Napíšte komentár