BookmarkSubscribe
Choose Language Hide Translation Bar
vishwasanj
Community Trekker

Run .jsl without opening any window

Hi All,

 

Is it possible to run .jsl without opening any windows or data tables in JMP?

 

I am trying to run everything in background if possible.

 

Thanks.

0 Kudos
3 REPLIES 3
uday_guntupalli
Community Trekker

Re: Run .jsl without opening any window

@vishwasanj : 
       You can keep the data tables "invisible" or "private" where they dont pop up . 
        Would that suffice ? 

Best
Uday
0 Kudos
vishwasanj
Community Trekker

Re: Run .jsl without opening any window

Thank you Uday. That's a good idea. Is there a good documentation/post to understand where all I could use invisible or private? I don't want to miss anywhere in my script. Thank you.
0 Kudos
uday_guntupalli
Community Trekker

Re: Run .jsl without opening any window

@vishwasanj : 
  So , two ways to set data tables/ windows to show / disappear are : 
1. When you create them 
2. When you have a handle / reference to the object . 

For case (1) 

dt1 = Open( "$SAMPLE_DATA/Big Class.jmp","Invisible" );
dt2 = Open("$SAMPLE_DATA/Air Traffic.jmp","Private") ;

For Case(2) 

dt1 = Open( "$SAMPLE_DATA/Big Class.jmp"); 
dt1 << Show Window(0); 

Setting a window to private makes it hidden even in the list of windows of JMP - so this is more closer to your initial need. "Private" can also speed up your script .  Hope this addresses you need . 

You can apply the Show Window to a window as well.

Best
Uday