14.03.2014 Views

Automation Reference - JMP

Automation Reference - JMP

Automation Reference - JMP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

Application Object<br />

Application Object<br />

The Application object provides high-level support for running <strong>JMP</strong> and loading data tables and other files. It is the<br />

essential object that must be created in order to have an automation session.<br />

Properties<br />

Application<br />

Returns a dispatch pointer to the <strong>JMP</strong> object, which you should already have if you are accessing the property.<br />

FullName<br />

Returns the short name of the <strong>JMP</strong> application as a string, for example, “<strong>JMP</strong>”.<br />

Name<br />

As with FullName, Name returns the short name of the <strong>JMP</strong> application as a string.<br />

Parent<br />

Returns the object that is the next level up. Since the application object is top level, it just returns the application<br />

object.<br />

Visible<br />

Sets the <strong>JMP</strong> session visible if set to True (1), invisible if False (0). The default is False.<br />

Setting Visible to True affects windows that are created after changing the setting. Windows that were visible<br />

prior to the change remain visible.<br />

Methods<br />

ClearLog()<br />

Clears the contents of the Log window.<br />

CloseAllWindows()<br />

Closes all currently open windows.<br />

CloseWindow()As Boolean<br />

Closes the analysis window immediately, rather than waiting for <strong>JMP</strong> to Exit. Returns True if successful, False<br />

if not.<br />

CloseWindowsOfType(jmpWindowTypeConstants windowType)<br />

Closes all currently open windows of a given type, like Journal or Datatable. jmpWindowTypeConstants<br />

contains the available window types that may be closed.<br />

Page 36

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

Saved successfully!

Ooh no, something went wrong!