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.
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>)