| T O P I C R E V I E W |
| LucSerre |
Posted - 01/20/2005 : 11:55:23 AM Origin Version (Select Help-->About Origin): 6.1 Operating System:win2000
I try the following code and as soon as I click on the Options button, Origin crashes (disappears).
fdlog.optionDlg$=IMPASCII; fdlog.usegroup(ASCII); fdlog.open(); %B=fdlog.path$; window -t matrix; open -w B;
The import options that I want to use are always going to be the same, is there a way of coding them into my script? |
| 2 L A T E S T R E P L I E S (Newest First) |
| LucSerre |
Posted - 01/20/2005 : 12:50:58 PM Thanks! I replied there too |
| Mike Buess |
Posted - 01/20/2005 : 12:14:34 PM To avoid the crash you should create the matrix before you open the file dialog...
window -t matrix; fdlog.optionDlg$=IMPASCII; fdlog.usegroup(ASCII); fdlog.open(); %B=fdlog.path$; open -w B;
...Apparently ASCII options are not saved with matrix templates. (Never noticed that before!) One possibility is to import to a wks (for which you can save ASCII options) and then convert to matrix. See my reply to your other topic for details.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 01/20/2005 12:19:14 PM |