cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

How to use JSL to save the screenshot of the specified area of the data table as a picture?

For example, save the dt[1::10,1::5] screenshot as "C:\bs.png"

 

Thanks!

 

2022-06-09_18-17-55.png

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to use JSL to save the screenshot of the specified area of the data table as a picture?

One option to do something a bit like that

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt << Delete Rows(11::40);

nw = new window("",
	dt << Get As Report
);

pic = nw << Get Picture;
pic << Save Image("$TEMP/DELETEME.png", "png");
nw << Close Window;
Close(dt, no save);
Open("$TEMP/");
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How to use JSL to save the screenshot of the specified area of the data table as a picture?

One option to do something a bit like that

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt << Delete Rows(11::40);

nw = new window("",
	dt << Get As Report
);

pic = nw << Get Picture;
pic << Save Image("$TEMP/DELETEME.png", "png");
nw << Close Window;
Close(dt, no save);
Open("$TEMP/");
-Jarmo

Recommended Articles