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
 Origin Forum
 Worksheet script problem

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
Duff Posted - 06/03/2014 : 8:19:47 PM
Origin Ver. and Service Release (Select Help-->About Origin): 9.1 sr2 64 bits
Operating System: windows 7 64

I have the following worksheet script:
wtranspose iw:=[Book1]Import type:=comment ow:=[Book1]Transpose!;
colcopy -r 1 irng:=[Book1]Transpose!1:30 orng:=[Book1]DATOS!1:30 format:=0 hidden:=0 lname:=0 units:=0 comments:=0 para:=0 usrdef:=0;

and works well.
If the checkbox "Run after import" is selected the the import (many ascii files) becomes too slow.
How do the "auto scripting" when import?
Thanks
3   L A T E S T    R E P L I E S    (Newest First)
Duff Posted - 06/04/2014 : 10:29:51 AM
The problem was when "run the script after each import" and solved running after all data files are imported.
Thank you!
snowli Posted - 06/04/2014 : 10:18:03 AM
Origin's Import wizard supports running script after import.

You can watch this video.
http://originlab.com/Index.aspx?go=Support/VideoTutorials&pid=1163

This is old video. So in new version, you can even specify Script to run after each import, or script to run after all data files are imported.

If you later want to save workbook template, then when saving filter on the last page of import wizard, make sure to check Save Filter "In the Window" checkbox. All import settings settings and script will be saved in the workbook.

Thanks, Snow
OriginLab Corp.
Shirley_GZ Posted - 06/03/2014 : 10:59:36 PM
Hi Duff,

Origin 9.1 supports transpose data while importing, which is availble in the Import ASCII tool (from menu File: Import: Multiple ASCII )


Please try it, any pronlem, please send us an email tech@originlab.com or reply this post directly.

Originlab Technical Service Team

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