cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
shampton82
Level VII

Script for right clicking and hiding/unhiding a window from the Home Window "window list"

I'm trying to keep from when windows open and then hiding them causing a bunch of screen flickering as the script runs.  I can open the file as Invisible but then I'd like it to become "active" however in a minimized state.  I tried using this code (dt= a data table and GB1= a graph builder window) but when it shows the windows they are maximized.

dt2<< Minimize Window( 1 );
gb1<< Minimize Window( 1 );
dt2<<Show Window( 1 );
gb1<<Show Window( 1 );

However, if I only run the script up to the show window portion and right click on the windows in the Home window list and click unhide they will become active (not greyed out anymore) and still be minimized.

 

Anyone know what the JSL would be to replicate the Unhide action from the Hoem window?

shampton82_0-1670342722038.png

 

Thanks for any help!

 

Steve

1 REPLY 1
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Script for right clicking and hiding/unhiding a window from the Home Window "window list"

I think you are looking for ShowWindow():

 

Names Default To Here( 1 );

dt = Open( "$Sample_data/iris.jmp", "Invisible" );

dt << ShowWindow(1);