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

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
jstst Posted - 09/16/2010 : 04:57:28 AM
Origin Ver.8 and Service Release 2(Select Help-->About Origin):
Operating System:Win XP
hi
i made a skript to import multible txt-files in one workbook in seperate sheets. Then it starts a loop wihich changes the colums a bit and then makes a graph for each sheet. The problem is when I start the loop, after the first loop the graph is activated and not the workbook anymore. So the loop cannot continue.
What can I do??
here the skript in short:


string fns, path$="c:\...\";
findfiles f:=fns$ e:="name_*";
int n = fns.GetNumTokens(CRLF);
string bkName$;
newbook loopdata s:=0 result:=bkName$;
impasc fname:=fns$
options.ImpMode:=4
options.Names.FNameToBk:=1
options.Names.FNameToSht:=1
options.Names.FNameToBkComm:=1
options.Names.FNameToColComm:=1
options.Names.FPathToComm:=0
orng:=[bkName$]A1!A[1]:C[0] ;
doc -e LW {
normalize iy:=Col(2) method:=max;
plotxy iy:=(1,3) plot:=200;
};
2   L A T E S T    R E P L I E S    (Newest First)
jstst Posted - 09/17/2010 : 03:18:07 AM
thanks works perfectly!!
DataConv Posted - 09/17/2010 : 01:59:29 AM
Hi jstst,

What i do in that case is following: At the beginning of the script i insert something like
aa$ = page.name$;
Before the critial sections i simply insert a
win -a %(aa$);
This refocuses back to your (entry) worksheet...

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