14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 15 Creating and Sharing Applications 511<br />

Application Builder<br />

The Application Builder window provides the following features:<br />

• The toolbar provides quick access to many features, such as aligning objects and inserting common<br />

display boxes. (Select View > Toolbars > Application Builder to show the toolbar.)<br />

• The Sources pane shows objects that you can include in the application, including open reports and<br />

graphs. Right-click an object and select <strong>Scripting</strong> Help for information about the object and its<br />

properties.<br />

• The workspace in the middle shows dotted grid lines, which help you line up objects. Drag objects onto<br />

one or more Module tabs in the workspace and write scripts on the Scripts tab to control the objects’<br />

functionality.<br />

• The Objects pane shows a hierarchical view of the application. Along with the application, each module<br />

and its nested objects are listed. You can click an object to show its properties or to select it on the<br />

workspace.<br />

• In the Properties pane, you set properties for each object, such as the location, width, or name of an<br />

object. The properties vary depending on the type of object.<br />

Tip: To hide the grid and turn off snap-to-grid for all applications that you create, select File ><br />

Preferences > Platforms > JMP App and deselect these options. You can also deselect these features in the<br />

Application Builder red triangle menu.<br />

Red Triangle Options<br />

The Application Builder red triangle menu provides options for running and debugging the application,<br />

opening sample applications, showing the grid, and more.<br />

Run Application Starts the application. A window for each module opens, and you can interact with the<br />

application as the user will.<br />

Debug Application Opens the script in the JSL Debugger to troubleshoot errors. See “Debug Scripts” on<br />

page 56 in the “<strong>Scripting</strong> Tools” chapter for more information.<br />

Open Sample Opens a sample application from the JMP Samples/Apps folder. These samples show you<br />

how to set up common applications, and you can modify them as you wish. Table 15.2 describes the<br />

samples.<br />

Snap to Grid Aligns (or snaps) objects to the nearest dotted grid lines as you drag them on the workspace.<br />

Selected by default.<br />

Show Grid<br />

Displays dotted grid lines on the workspace. Selected by default.<br />

Auto Scroll Automatically scrolls horizontally or vertically as you drag an object near the edges of the<br />

workspace. Selected by default.<br />

Script Lets you save the application to a data table, journal, script window, or add-in. See “Options for<br />

Saving Applications” on page 521 for details.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!