Robot,
There is really no need to have an invisible option for New Window. The purpose of New Window is to "display" a visible window. You can make a display tree outside of New Window and simply save a picture of it to accomplish your goal. Here I have used image type PNG, but you could easily use JPG. The Platform command evaluates and creates a display box for use in your display tree.
In JMP 9 or later:
// Make and saving a display tree outside of New Window
// Open the table and assign it a reference
dt = Open (Convert File Path("$Sample_Data") || "Big Class.jmp", invisible);
// Run the analysis and create a display box using Platform()
db1 = Platform(dt, Bivariate( Y( :height ), X( :weight ) ));
// Create the display tree you want
Display Tree = VListBox(
OutlineBox("My Outline",
TextBox 1 = TextBox("Here is my analysis of Big Class."),
db1
);
);
// Save the display tree as a picture
Temp = Display Tree << Save Picture(Convert File Path("$Documents") || "Temp.png");
// You can now close the datatable
Close(dt,Nosave);
Michael Haslam