Acess via Script

<< Click to Display Table of Contents >>

 

Acess via Script

To use AppBrowser from a script, open a script View and click AppBrowser on the toolbar of the Scripts tab. In this mode, objects are separated as shown on the next figure.

AppBrowser via scripts

AppBrowser via scripts

The left panel contains the following items:

The first item, displayed isolated, is the Context. A context object is the one originating the call to AppBrowser, that is, the script's owner

The next item is the full Hierarchy to reach a context object, if this context is not in project's root. This object can be expanded and the context object itself can be seen in this hierarchy

If the context is not a server object, the third item displayed is the Viewer (the Application object)

The Server item lists all server objects belonging to an application. If this item is the current context, it contains an indication of Application

The Tasks item displays the most common tasks to execute via scripts. These are Open Screen, whose result is an expression to open the selected Screen and it is equivalent to the Open Screen Pick, and Load Report, whose result is an expression to load a Report. This item can be displayed or not, depending on whether there are Reports or Screens on the project

The VBScript item displays all functions from the VBScript language available for use in scripts

The E3Globals item displays methods for global usage in Elipse E3

 

According to the selected object, the center panel shows its properties and methods.

Was this page useful?