Returns the menu items used for popup menu when the button is clicked. For submenus see <<Get Submenu(index). Menu items are returned in a list.
w << Get Page Setup();
The example below creates a menu containing “A”, “B”, and “C” with “A” having a submenu “A1” and “A2” and “B” having a submenu “B1”, “B2”, and “B3”. <<Get Submenu(inc) returns the number of submenu items under each indexed menu item.
New Window( "Title",
obj << Set Menu Script(
New Window( "Example",
Consider including the message <<Update Window rather than including Wait(0). The problem with using Wait(n) is knowing how large n should be.
Many display box messages, such as <<Set Text, automatically mark the box as invalid, so the <<Inval message is usually unnecessary. Some interactive scripts that use sliders with JSL callbacks may need <<Update Window to keep various parts of the display synchronized with the slider.
biv = dt << Bivariate( y( weight ), x( height ) );
rbiv = (biv << Report);
The PDF file contains headers and footers. Use Save Picture to omit these components.
•
|
Pref( Save Image DPI( <number> ) );
•
|
Use Save Picture to export a report as a PDF file with no headers or footers. Use Save PDF to include these components.
|
The quoted location of the saved file. You must include the .pptx extension in the filename. An existing file with the same name is overwritten.
Optional. The quoted path name and file name of a custom PowerPoint template. Without this argument, JMP uses the default template located in the pptx folder of the installation directory.
Include a simple table in your template, or a default table format is applied to report tables. For an example on Windows, see /pptx/JMPExportTemplate.pptx in the JMP installation folder.
‒
|
n inserts the slides as the nth slide number.
|
‒
|
"Begin" inserts the slides at the beginning of the presentation.
|
‒
|
"End" inserts the slides at the end of the presentation.
|
Optional. Determines which slides are replaced in an existing presentation. The arguments are n, "Begin", and "End" as described for Insert.
‒
|
"None" omits the slide title above the graphic and the outline titles.
|
‒
|
"Hide" omits the outline titles.
|
‒
|
"TopLeft", "TopRight", "BottomLeft", "BottomRight" determine the position of the outline titles on the slide. The outline title and its parent titles are included.
|
Optional. The quoted format of the embedded graphics. Options are "Native", "EMF", "PNG", "JPG", "BMP", "GIF", "TIF". On Windows, the native format is EMF. On Macintosh, the native format is PDF. See “Notes” for compatibility issues. Without this argument, JMP applies the “Image Format for PowerPoint” General preference.
Windows does not support the native PDF graphics produced on Macintosh. Macintosh does not support the native EMF graphics produced on Windows. For cross-platform compatibility, specify "PNG", "JPG", "GIF", or "TIF".
Sets the page settings. Margins are set in inches. Scale variable s is a number in the range of 10 (for 1000%) to 0.2 (for 20%) with the default as 1 (for 100%). If portrait is True the page is oriented for portrait, otherwise the page is landscape. Paper size is a string specifying the paper size, for example, "Letter" or "Legal".
w << Set page setup(
scale( 1 ),
portrait( 1 ),
paper size( "Letter" )
w << Set Print Headers(
w << Print Window;
w << Set Print Footers(
w << Print Window;
ob << Set Menu Script(