I had given a task to create an automation system which is to automatically save graph from JMP to power point. I already follow several tutorial from this page but it's did not work. I hope someone can help me or give suggestion. thank you.
This is script that i working on, the source of this script also from this page.
/!
names default to here(1);
dt = open("$Line Delta - Shared\KLM 5, 6 Eff and IV Delta.jmp", invisible);
obj= Control Chart(Chart Col( :KLM 5, 6 Eff and IV Delta, KLM 5,6 Eff Line Delta));
Report(obj)[framebox(1)] << Frame Size( 400, 184 );
Report(obj)[axisbox(2)] << {Min( nrows()-N), Max( nrows()+1), Inc(10 ), Minor Ticks( 0 ), Rotated Labels( "vertical" )};
obj << save picture( "Line.jpg", jpeg ); // picture name
Close( dt, save );//saves the chart with the extra rows, this way the ppt slide will be different when its opened the next time
Open("template.pptx"
); //powerpoint name
//note: close the ppt before running the script again
When i run this script, this error box appear.