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
 RE: Origin Macros

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
jprank2 Posted - 06/29/2006 : 10:09:34 AM
Origin Version (Select Help-->About Origin):
Operating System: Windows XP

I was wondering if anyone could tell me where I might learn how to write macros in LabTalk in order to use them in Origin. I have looked at a few resources but I am not sure how to start. I have programming experience, but I just don't understand how to go about structuring a script for a macro and what to put with the script (button picture, etc) in order to make it work. On top of that, I'd like to be able to find a resource that might already have examples of things/ operations that I might want to do in my macros.
I appreciate your time.
1   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 06/30/2006 : 11:53:42 AM
Hi,

You can put the macro definition (def command) in your script in order to call it. To see samples, you can look at examples of the predefined system macros, for example, ArrangeLayers in Programming Help (LabTalk Language Reference>Macro Reference>Predefined System Macros>)

--Hideo


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