I have written a bunch of commands in a tcl file and would like to run it on Encounter Command Line. The reason is that I need to perform some work in Encounter interactively, and then, the rest of the stuff can be done by scripts.
So, suppose that my file with encounter commands is called "Encounter_Commands.tcl"
and on the prompt, I tried:
(1). Exec Encounter_Commands.tcl, which returned errors suggesting that all the commands were illegal.
(2). ./Encounter_Commands.tcl, which also did not work for the same reason
(3). The Encounter manuals speaks of "RunScript" which cannot be found on the command line;
Can anyone help me in how to get a file containing a bunch of encounter commands execute on the encounter command line?
Thanks a lot!
I don't know Encounter but normally the correct Tcl command to read in a Tcl syntax file is "source" as Tomek stated.
I would recommend, however, posting Encounter questions to the appropriate forum: Digital Implementation to ensure that you get the best and fastest response.
In reply to skillUser: