14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Application Object <strong>Reference</strong> for Automating <strong>JMP</strong><br />

Common Analysis Functions<br />

SetWindowPos(X As Integer, Y As Integer)<br />

Sets the position of the analysis window relative to the Windows desktop. X and Y are in pixel coordinates.<br />

SetWindowSize(CX As Integer, CY As Integer)<br />

Sets the size of the analysis window in pixel coordinates.<br />

StringColGetItemText(Handle As Long, ElementNumber As Integer) As String<br />

For StringColBoxes only. This retrieves the ith element of the StringColBox, where i is determined by the<br />

second parameter. The item is returned as a string.<br />

TableBoxMakeDataTable(Handle As Long) As DataTable<br />

Creates a new data table and fills the cell values with the contents of the TableBox described by Handle.<br />

UseByOutput(ByTitle As String) As Boolean<br />

Allows you to access a By Group that is not first in the output order.<br />

The string must be the title of the particular By Group that you want to manipulate. For example, suppose you<br />

have a Bivariate output that is grouped by sex with values “Female” and “Male”. If the “Female” reports are first<br />

in the output, they are the ones manipulated by the Bivariate automation functions. If you want to manipulate<br />

the “Male” reports, call the method UseByOutput("sex=Male"). If the method returns True, subsequent<br />

Bivariate method calls operate on the “Male” output. To switch back to the “Female” output, issue a call<br />

UseByOutput("sex=Female").<br />

Page 51

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

Saved successfully!

Ooh no, something went wrong!