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