cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

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