| hkkim
 
                Republic of Korea35 Posts
 | 
                    
                      |  Posted - 09/12/2012 :  01:29:30 AM           
 |  
                      | Origin Ver. and Service Release (Select Help-->About Origin): Pro 8.1 SR3 Operating System: Windows XP
 
 Hi Origin guru!, I need your help! I want to make several PowerPoint files using a batch processing with LabTalk script without user interaction. The file paths and names are supplied as inputs. The generated .ppt files are checked after batch run. I attached some scripts below. Could I make it only LabTalk script? If not, Origin C introduce will be required? Could you give me some guidelines for solution?
 Thanks in advance!
 
 ------------------------------------------------------------------------
 def drawGraphs
 {
 ...
 }
 
 def mainWork
 {
 ...
 Loop (i1, %1, caseno) // outer loop
 {
 ...
 Loop (i2, 5, 7) { // inner loop
 ...
 } // end loop i2
 drawGraphs; // call macro
 ...
 } // end loop i1
 // Send Graphs to PowerPoint
 pef_pptslide top:=10 bottom:=10 left:=10 right:=10 title:=2;
 // Save .ppt file using input data(path & name) without user interaction
 // Close PowerPoint and return to LabTalk
 // How ???
 }
 
 // Accept input data(path & name)
 ...
 mainWork 9; // call macro for test 1
 
 // I want to continue below lines continuously
 mainWork 12; // call macro for test 2
 mainWork 7; // call macro for test 3
 |  |