| T O P I C R E V I E W |
| ravinder |
Posted - 10/21/2004 : 02:44:35 AM Origin Version 7.0 (Select Help-->Tutorial): Operating System: Windows Xp Dear all, I want to learn about Automating the processes in Origin. The best I thought to look in the Help-->Tutorial-->Programming Tutorials-->Automation Example. After following all the instructions given in the tutorial and finally running the command Process %yTutorial\Sample.txt from the Script Window. I get the "File Not Found" error. However the file is infact present in the designated folder. I am wonder if I am missing something obvious!!! Could someone please help me sort it out? Regards, Ravi
|
| 2 L A T E S T R E P L I E S (Newest First) |
| easwar |
Posted - 10/21/2004 : 10:38:46 AM Hi Ravi and Hajo,
Thank you for bringing this to our attention.
When Origin is installed, by default the User Files folder is set up to be a different folder than the EXE path.
We therefore have a mistake in our tutorial steps because this was done assuming the user files folder and the exe folder are one and the same - it is possible to configure it this way, but not recommended.
We will correct this error in the tutorial.
Thanks,
Easwar OriginLab
|
| hajo |
Posted - 10/21/2004 : 04:55:09 AM Hello, Ravi
I tried out the issue you documented in Origin7.5 with the same failure!
Please try the following (type into the scripting window ...):
- Process %yTutorial\Sample.txt
this will lead to the file not found error you reported.
- type %yTutorial\Sample.txt
shows you the real processed path. %y expands to the Origin User directory NOT as expected in the tutorial to the Origin installation directory where the Tutorial folder is located. So the error message is correct!
- %a=system.path.program$
Process %aTutorial\Sample.txt This should work!
Maybe you'll find it usefull to have a look at the following Help section: LabTalk Language Reference -> Overview of the LabTalk Language -> Keywords -> String System Variables
Hope that helps ... Hajo
-- Dipl.-Ing. Hans-Joerg Koch SiemensVDO Automotive, Regensburg, Germany
Edited by - hajo on 10/21/2004 04:55:32 AM
Edited by - hajo on 10/21/2004 04:58:22 AM |
|
|