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
 RE: Origin Macros
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jprank2

USA
Posts

Posted - 06/29/2006 :  10:09:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

Hideo Fujii

USA
1582 Posts

Posted - 06/30/2006 :  11:53:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

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