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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 How to close graph tab alone?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

4tuty

India
3 Posts

Posted - 01/08/2019 :  11:47:10 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

yuki_wu

896 Posts

Posted - 01/09/2019 :  02:52:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You could specify the worksheet by its name directly:
doc -ef W {save -w [%H]Data! %B%H.txt};

Hope it helps.

Regards,
Yuki

OriginLab
Go to Top of Page

4tuty

India
3 Posts

Posted - 01/09/2019 :  03:01:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply


i get only 0Kb

used code

fdlog.openpath(B);
doc -ef W {save -w [%H]Data! %B%H.txt};

Edited by - 4tuty on 01/09/2019 03:01:59 AM
Go to Top of Page

yuki_wu

896 Posts

Posted - 01/09/2019 :  04:24:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

4tuty

India
3 Posts

Posted - 01/09/2019 :  07:30:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
wowooooooowwwwwww


Thank you thank you thank you thank you very very muchhhhh @Yuki_Wu

Problem solved
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000