cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
GroupSquareWolf
Level III

Scriptiing- Naming and closing Journals

Here is a script trying to save a data table in a Journal and then from the Journal the data table is saved into a MS word document. One preference is to run the Journal part in the background. Among the scripts, only the Save MSWord part works

 

To name the Journal:

Set Name is not working.

 

To hide the Journal in the background:

Neither (Invisible) nor Close () is working.

 

Thank you for your help!

 

dt = current datatable ();

dt2 = dt << Journal (invisible);

dt2 << set name ("test1");
dt2 << Save MSWord( "$Desktop/jmp_example.doc" ); close (dt2);

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Scriptiing- Naming and closing Journals

Use commands you can use for windows, << Show Window and << Set Window Title

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt2 = dt << Journal;
dt2 << Show Window(0);
dt2 << Set Window Title("test1");

dt2 << Save MSWord("$DESKTOP/jmp_example.doc");

dt2 << Close Window;

 

jthi_0-1671551853358.pngjthi_0-1671551853358.png

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Scriptiing- Naming and closing Journals

Use commands you can use for windows, << Show Window and << Set Window Title

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt2 = dt << Journal;
dt2 << Show Window(0);
dt2 << Set Window Title("test1");

dt2 << Save MSWord("$DESKTOP/jmp_example.doc");

dt2 << Close Window;

 

jthi_0-1671551853358.pngjthi_0-1671551853358.png

 

-Jarmo

Recommended Articles