GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Sixteen — Application (continued)
A method of externally running a script from another application is provided by using one or more command line arguments. A script can be run either before the API Verbs and Application Startup script or after the Graphical User Interface (GUI) starts up.
As part of the normal processing, any script can capture command line arguments for processing. (See the next section).
16.2.2 Script Command Line Arguments
The following command line options are provided for scripts:
/RunScript:filename
Adding this command line argument with a filename (and path) will cause the script to be executed prior to the presentation of the GUI or immediately after the GUI starts.
If the script contains errors or the script cannot be found and the NoGUI argument is used, the application log will contain details.
If a path is not provided, the script file is assumed to be located in the program’s Scripts folder.
/NoGUI
When present, the NoGUI option causes the script to be run immediately prior to processing API command line verbs and the application startup script. Normally that application will exit after the processing of the script but the script can indicate a desire to continue by returning ERROR_CANCEL. In such a case the NoGUI flag and RunScript arguments are reset and processing continues.
No NoGUI option can also be added at any time to stop the GUI from running.
When the GUI runs, the script is executed as the last command line operation. All files to be opened or any other actions will have already been completed. In this mode, the return value of the script is not relevant.
If run without the Results option is provided, all message boxes will be sent to the result and dialog interfacing is not allowed (presumably there is no GUI in this mode).
See the specific application for information on specific command line actions.
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.