News
On June 1, we’re asking you to select a content label when starting a new topic in the Discussions area. Read more to find out why.
Choose Language Hide Translation Bar
Highlighted
tom_abramov
Level IV

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

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.

0 Kudos
3 REPLIES 3
Highlighted
txnelson
Super User

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

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
Highlighted
tom_abramov
Level IV

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

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.

0 Kudos
Highlighted
txnelson
Super User

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

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
0 Kudos