Subscribe Bookmark RSS Feed

Re: Run .jsl without opening any window

vishwasanj

Frequent Contributor

Joined:

Dec 27, 2016

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.

3 REPLIES
uday_guntupalli

Community Trekker

Joined:

Sep 15, 2014

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

Best
Uday
vishwasanj

Frequent Contributor

Joined:

Dec 27, 2016

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.
Highlighted
uday_guntupalli

Community Trekker

Joined:

Sep 15, 2014

@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