The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Send graph to PPT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

touch41

16 Posts

Posted - 03/24/2012 :  06:20:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Kathy_Wang

China
159 Posts

Posted - 03/26/2012 :  03:17:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - Kathy_Wang on 03/27/2012 9:09:58 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000