User Interface Typescript Commands
The typescript commands described here can be used from the typescript window or from a button script to manipulate the user interface, for example, by displaying or closing selected windows. These commands generally have no effect when used from ADE.
Open
Open [diagram | object | definition | table | graph | result ] o
The first parameter specifies what kind of window to open.
diagram window, object window, Definition: Table: Result as table, Graph: Result as graph Result: Result as table or graph depending on what it was last saved as.
Open Diagram m
Opens the diagram window for module m.
Open Object o
Opens the object window for o.
Open Definition o
Opens the edit table window if o is defined as edit table, otherwise input control if there is one, otherwise definition attribute.
Open Table v
Opens the result table for v. The view mode (Mid, Mean, PDF, etc) is determined by the value of the ValueState attribute of v. It will open to the previously viewed mode, unless you alter this attribute prior to executing.
Open Graph v
Opens the result graph for v. The view mode (Mid, Mean, PDF, etc) is determined by the value of the ValueState attribute of v.
Open Result v
Opens the result window for v, to the view previously shown. The view previous shown is stored as the 7th field of the ValueState]] attribute, and the result mode is the 8th component. (The other components of that attribute store the location and size of the window).
Close
Close Diagram m
Closes the diagram window for module m.
Close Object o
Closes the object window for o.
Close Definition o
Closes the edit table window for object o.
Close Graph v
Close Table v
Close Result v
These all close the result window for v.
Enable comment auto-refresher