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 for Programming
 LabTalk Forum
 Importing OTW templates

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
blt2si Posted - 04/07/2003 : 08:54:41 AM
Hello,

I have a problem with some labtalk script I am programing!
I am having trouble opening a template *.OTW file. I put the following in the button so it opens automatically.

%A = Map11;
win -t wks \\S345\test\Origin_files\Templates\Map11 %A;

with "wks" or with "data".
This will not open the file however if I open a plot template *.OTP file

%A = EmiZW
win -t plot \\S345\test\Origin_files\Templates\EmiZW %A;

There is no problem.

Thanks

1   L A T E S T    R E P L I E S    (Newest First)
e.kruis@un Posted - 04/07/2003 : 09:20:21 AM
Hi blt2si,

having a look at the "win -t" description, you'll see that you have to set the system variable @WD=1 before you open the template. The reason is that Map11 already existed in your project and was then deleted (equivalent to "win -c") - but the datasets remained, so Map11 was'nt opened.
I guess, EmiZW didn't exist before, that's why it works here.

Regards

Thomas

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