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
 Code Builder: LabTalk script does not type output
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 05/01/2020 :  04:12:58 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2019b (64-bit) 9.6.5.169

I enjoy working with Code Builder to edit LabTalk scripts.

However, I noticed a difference between the Script Window and Code Builder. The following command produces an output in Script Window, but does nothing in Code Builder:
type "The current workbook is %h"


How do I get the type output in Code Builder?

Thank you.

cpyang

USA
1406 Posts

Posted - 05/01/2020 :  3:35:51 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Add
type.redirection=32;

at the beginning to set output to code builder Output window, see

https://www.originlab.com/doc/LabTalk/ref/Type-obj


CP
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/02/2020 :  05:19:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by cpyang

Add
type.redirection=32;

at the beginning to set output to code builder Output window, see

https://www.originlab.com/doc/LabTalk/ref/Type-obj

CP




Great!
Thank you. It wasn't an obvious setting.
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/02/2020 :  05:37:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Is there a command to clear Output window?
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/06/2020 :  05:39:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Is there an LT or OC command to scroll Output Window to its very end (bottom)?
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