Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Vincentrou
Posted - 07/26/2004 : 09:07:06 AM hello, I have a problem to define a macro in the script window of Origin7.0. In fact, when I type a macro, even the one of the tutorial : 1.From the Origin menu, select Window:Script Window. 2.Type the following: def hello { type -b "Hello World!!!"; } 3.Type the following into the Script window: hello Press ENTER
the answer is always : #Command Error!.
Could you tell me how I can define a macro and how I can use it? Thank you.
Vincent
2 L A T E S T R E P L I E S (Newest First)
Vincentrou
Posted - 07/26/2004 : 10:23:09 AM Thank you very much !
Mike Buess
Posted - 07/26/2004 : 10:03:48 AM Hi Vincent,
Select (hi-light) all of the macro lines and then press Enter...
<start selection> def hello { type -b "Hello World!!!"; } <end selection> Press ENTER