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
 All Forums
 Origin Forum
 Origin Forum
 How to echo commands of interactive menu options

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
vharihar2 Posted - 05/31/2024 : 01:14:27 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
NicholasSupport Posted - 05/31/2024 : 10:00:21 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000