I have created a blank application and written jmp script for displaying new window in the pace allocated for module1. But when running the application another window is getting popped up. How to address that window in order to make it invisible.
This is the example code of new window.
Names Default To Here( 1 );
If(
ex = New Window( "Modal Dialog example",
<<TYPE>= 1 & num <= 100;
,
variable <<
Background Color( "Background" );
1;
,
variable <<
Background Color( "Light Yellow" );
0;
)
),
V List Box(
Text Box(
"Enter a value between [1,100]:"
),
H List Box(
variable = Number Edit Box( 42 )
),
H List Box(
Button Box( "OK" ),
Button Box( "Cancel" )
)
)
);
ex["button"] == 1;
,
ex["variable"],
"CANCEL"
);</TYPE>I am attaching the two windows that are getting popp
ed up.
Hello @Vinusha ,
You can close a report window with the following script.
Window( "My Report" ) << close window;
You can set the name of a report in the Properties pane on the right.

Hope it works.
Yeah, That's working. Thank you