GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The GetScriptParent function returns a string identifying the calling parent.
Syntax/Parameters
Syntax
string = GetScriptParent ( );
Parameters
(none)
Return Value
Returns a string containing the parent name. This string can be empty if the script was called from an unknown source.
Remarks
This function can be useful in allowing a script to change its behavior based on the type of parent calling. For example, a script could use certain debugging features if called from the IDE.
The following is a list of known callers:
String | Description | ||
_run_file | A call was made to the engine in the form of a file to run only. | ||
_run_string | A call was made to the engine in the form of a string to run only. | ||
CallScript | Run from a CallScript function. | ||
CommandLine | Called from the command line (non-GUI). | ||
CommandLineGUI | Called from the command line. | ||
FieldInclude | Called from a field include (HTML field update). | ||
FileNewTemplate | Run from the File | New HTML or ASCII template selector. | ||
LegatoIDE | Run from the IDE. | ||
MenuHook | Run from a menu hook. | ||
RunScript() | Run from a RunScript function. | ||
ScriptHook | Called from a general script hook. |
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
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.