Subscribe Bookmark RSS Feed

Prevent new plots from stealing focus

brianq_

Community Trekker

Joined:

Jun 23, 2011

Since JMP9 and 10 redid the window system, whenever I run a JSL that creates new charts or plots, the plot pops up in a new window and steals the focus from any other window I may be using.  This makes it impossible to multi-task while JMP is running my script (which can take up to an hour in extreme cases).  Is there any way to hide the new plots as they are created? Or at least prevent them from stealing focus?  FYI this is on Win7 with JMP10.0.2

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Try the "invisible" keyword on your platform calls.

dt=open("$SAMPLE_DATA\Big Class.jmp");

dist=dt<<Distribution(

  Continuous Distribution( Column( :weight ) ),

  Nominal Distribution( Column( :age ) ), invisible);

When you do want to see the report you can show it with the "show window" message.

report(dist)<< show window;

I hope that helps!

-Jeff

-Jeff
2 REPLIES
Solution

Try the "invisible" keyword on your platform calls.

dt=open("$SAMPLE_DATA\Big Class.jmp");

dist=dt<<Distribution(

  Continuous Distribution( Column( :weight ) ),

  Nominal Distribution( Column( :age ) ), invisible);

When you do want to see the report you can show it with the "show window" message.

report(dist)<< show window;

I hope that helps!

-Jeff

-Jeff
brianq_

Community Trekker

Joined:

Jun 23, 2011

Thank you so much!  That works perfectly!