Subscribe Bookmark RSS Feed

How to start JMP invisible while double-clicking on script with //!

tom_abramov

Community Trekker

Joined:

Oct 13, 2015

I would like to develop an application, which will be opened by double click on jsl file, but JMP Application itself will be invisible to the user. Is it possible?

 

Thank you.

3 REPLIES
txnelson

Super User

Joined:

Jun 22, 2012

Here is a sample script that does what you want.  The issues in doing this are that one really doesn't have good control over the Home Window, so it has to be minimized.  But other than that you can do pretty much what you want.

//!
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp", invisible );
Main Menu( "Minimize All" );
ow =  Oneway( Y( :weight ), X( :sex ), Means( 1 ), Mean Diamonds( 1 ) ) ;
ow << onclose( quit() );
Jim
tom_abramov

Community Trekker

Joined:

Oct 13, 2015

Thank you Jim.

I mean - I want the application invisible to the user, not just minimized.

From C# I can do it with:

"MyJmp.Visible = false;"

(taken from C# example in Jmp12 sample data).

 Is it possible with scripts?

 

Thank you.

txnelson

Super User

Joined:

Jun 22, 2012

I am not aware of how to turn an interactive session into a background process.  Hopefully another user or JMP staff has a method.

Jim