T O P I C R E V I E W |
touch41 |
Posted - 03/24/2012 : 06:20:32 AM Hello! Here's my problem: I have a script that makes statistical analysis on every column of a workbook and plots one histogram for every one . I want to send this graphs to powerpoint after I make them, not all together at the end of the script, but one at a time.
After the plot has just been created I write the following command:
pemp_pptslide insert:=embed;
but all I get is:
There is no graph in the folder to show. #Command Error!
Any clue? Thank you all!
Touch
Origin Ver.8.5 and Service Release 3 : Operating System: win XP
|
1 L A T E S T R E P L I E S (Newest First) |
Kathy_Wang |
Posted - 03/26/2012 : 03:17:52 AM Hi,
First, we don't have SR3 for 8.5, in 8.5 we only have SR0 and SR1, so the following suggestion is based on 8.5 SR1. And you may check your Origin build number by "Help"-"About Origin". The problem occurs because the pemp_pptslide command requires the desired graph to be selected in project explorer first, and in your case, it seems you didn't select the graph you want to export in the project explorer. To solve this, you need to open the project explorer, and find the graph you want to export and select it by left click, then you could use the script your gave to export your graph to powerpoint. Unfortunately, we don't have a labtalk script to select an object from project explorer, which means you must manually select the object.
Kathy Originlab |
|
|