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
 "Convert to default font size" via labtalk?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

johannes.kastl

Germany
71 Posts

Posted - 07/26/2012 :  08:03:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi everyone,

when opening older graphs in Origin 8.6, there is a entry in the menu to convert the graph to the default font size("Grafik"->"Umwandeln in Standardschriftgröße" in German Origin), so the export to word has the right font size.

Is there a labtalk command that does the same?

I have to convert a lot of old graphs, so using labtalk and "doc -e P" would speed things up a lot...

Origin Ver. and Service Release (Select Help-->About Origin): 8.60G SR3, Operating System: WinXP

Regards,
Johannes

P.S.: I thought I had already asked, but I found nothing on the forum.

greg

USA
1378 Posts

Posted - 07/27/2012 :  09:59:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
doc -e P {
PAGE.TEXTSIZECORR=1;
doc -uw;
}

Code can be discovered by holding down Shift and Ctrl key while selecting menu option. That opens GRAPH.OGS in Code Builder at the [TextSizeCorrection] section.
Go to Top of Page

johannes.kastl

Germany
71 Posts

Posted - 07/30/2012 :  04:42:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot, the command seems to work.

Using CTRL+SHIFT+CLICK only works, if the menu entry is not already greyes out. Thanks a lot, nice trick...

Edited by - johannes.kastl on 07/30/2012 04:44:11 AM
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