The Save Script commands are applicable to almost all of the platforms. Some additional commands are shown in Messages that can be sent to platform windows. In particular the Report command lets you access the display surface to control appearance details such as window zooming, scrolling, and so on. For example, to close an outline node for a report, you first obtain a reference to the Display Box tree, subscript to navigate to the outlineBox, and then send it the close message:
Show Properties(obj)
|
||
obj << message
|
||
Keeps output from a report from displaying on-screen. With Fit Model, both the model window and report are suppressed.
|
||
Platform name (...,title(“string”))
|
Changes the report title to string. The By variable is appended to the title when necessary.
|
|
Platform name (...,automatic recalc(Boolean))
|
True (1) sets automatic recalc on, so that any changes in the data or in the excluded state are immediately reflected in the report. False (0) sets automatic recalc off, so you must use redo analysis to see the changes.
Note: If automatic recalc is on, you should use wait(0) commands to let the triggers to take effect and do the recalculation.
|
|
obj<<Redo Analysis
|
||
obj<<Save Script to Data Table
|
||
obj<<Save Script to Report
|
||
obj<<Save Script to Script Window
|
||
obj<<Save Script for All Objects
|
||
x = obj<<Get Script
|
||
obj<<Data Table Window
|
||
obj<<Close Window
|
Closes the window identified by the obj, typically a platform surface.
|
|
obj<<Show Window(1)
|
||
obj<<Zoom Window
|
||
Scrolls the window x pixels to the left and y pixels down from the current position; negative coordinates go right and up. If the coordinates are a list in braces { }, they are absolute coordinates. The window scrolls to the point x pixels from the left and y pixels from the top.
|
||
obj<<Bring Window To Front
|
||
obj<<Maximize Window
|
||
obj<<Minimize Window
|
||
obj<<Print Window
|
||
obj<<Report
Report(obj)
|
Returns a display box reference for the report in the platform window. See Display Box Object References in Display Trees for a discussion. TopReport goes to the top display box, and is useful for BY groups or other cases when several platform reports are in one window.
|
|
obj<<Journal Window
|
Almost all platforms support the BY argument in the launch command, so By is not documented separately for each platform. See BY Group Reports, for a general discussion.
You can use a Title command across all platforms, which replaces the standard title. For example,
If automatic recalc is on, you should use wait(0) commands to let the triggers take effect and do the recalculation.