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
 Origin Forum
 How to echo commands of interactive menu options
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

vharihar2

1 Posts

Posted - 05/31/2024 :  01:14:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2023 v10.0.0.154

Operating System: Microsoft Windows 10

Is there a way by which I can tell Origin Pro that as and when I interactively click on menu options (to import a file, to plot something, etc), it should echo the commands corresponding to these interactive actions, so that in future I can automate these tasks by batch processing?

Many tools have such a capability, so I'm guessing Origin also may have it. Its a good way to quickly get familiar with the command interface, which is very helpful for quick batch processing.

NicholasSupport

USA
38 Posts

Posted - 05/31/2024 :  10:00:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Great question. Yes, Origin has this feature. To tell Origin to echo commands:
- Open script window (alt + shift + 3)
- Type "echo = 7", press enter
- "echo = 0" will stop command dumping

This is actually a combination of echo = 1, 2, and 4, which tells Origin to echo script for any command that is executed, any attempted command that generates an error, and any command that is sent to the queue for execution. More information can be found here: https://www.originlab.com/doc/LabTalk/ref/System-vars

Another helpful feature is holding Ctrl + Shift when clicking on menu or toolbar items.
Relevant Section: [Using CTRL + SHIFT to capture Menu Command and Toolbar Button Script]
https://www.originlab.com/doc/LabTalk/guide/Getting-Started-with-LT

Finally, any dialog theme can be displayed as script by clicking the fly-out triangle button next to any Dialog Theme field:


Best,

Nicholas G.
nicholas@originlab.com
OriginLab Technical Support Team
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