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
4tuty
Posted - 01/08/2019 : 11:47:10 PM Origin Ver. and Service Release (Select Help-->About Origin): Operating System:
I have multiple files with graph showing first (marked in black arrow), I want to close all the graph then the data tab is visible (marked in red arrow) so that i can use this script
fdlog.openpath(B);
doc -ef W {save -w %H %B%H.txt};
to save all the worksheet into text file. If i failed to do so i will get only 1 kb (black arrow of image 2) if i close the graph tab and use the above script i will get all the data in txt file (marked in red)
Thank you
4 L A T E S T R E P L I E S (Newest First)
4tuty
Posted - 01/09/2019 : 07:30:50 AM wowooooooowwwwwww
Thank you thank you thank you thank you very very muchhhhh @Yuki_Wu
Problem solved
yuki_wu
Posted - 01/09/2019 : 04:24:00 AM Hi,
Please make sure that there is a worksheet named Data in every workbook of the opened project first. Also double check if there is indeed data inside the Data worksheet.
Regards, Yuki
OriginLab
4tuty
Posted - 01/09/2019 : 03:01:39 AM
i get only 0Kb
used code
fdlog.openpath(B); doc -ef W {save -w [%H]Data! %B%H.txt};
yuki_wu
Posted - 01/09/2019 : 02:52:44 AM Hi,
You could specify the worksheet by its name directly: