Skip to main content

Hi   Thanks to all the support I have been getting, I now feel in control of creating Accuterm screens etc    

Now I need to start allowing my client to start testing the work I have done but have come across  a stumbling block.   I have recorded a script to run to logon to their account in jBase but need to make this script auto start when they select the correct session under the file tab.  

I know I am missing something simple like a tick boss but cant find it.

Can anyone help please 

Thank you all in anticipation

Chris Baxter



------------------------------
Chris BAXTER
MD
CB Soft
IPSWICH GB
------------------------------

Hi   Thanks to all the support I have been getting, I now feel in control of creating Accuterm screens etc    

Now I need to start allowing my client to start testing the work I have done but have come across  a stumbling block.   I have recorded a script to run to logon to their account in jBase but need to make this script auto start when they select the correct session under the file tab.  

I know I am missing something simple like a tick boss but cant find it.

Can anyone help please 

Thank you all in anticipation

Chris Baxter



------------------------------
Chris BAXTER
MD
CB Soft
IPSWICH GB
------------------------------

Nothing quite as simple as a tick box. What you are looking for is a "Layout file". 

Start your AccuTerm session and log in. Then from the 'File' menu, choose 'Save Layout As', and choose your location and name. Now, open that file with a text editor, and add the reference to the script. Here is one of the layout files that we use:

{"layoutVersion":1,"Windows":[{"Left":-21529,"Top":1967,"Width":9204,"Height":6912,"Maximized":true,"Arrange":0,"Sessions":[{"Profile":"QM-LIVE.atsp","Active":true}]}],"Script":"C:\\\\Progfiles\\\\Accuterm\\\\atlogon.atsc"}

If you are using AccuTerm 7, then the layout files are structured differently. In that case you would want to ADD a line that looks like this:

Script=C:\\\\Progfiles\\\\Accuterm\\\\atlogon.atsc

Amend the path and script names as required.

Of course, there is an official way of doing this (look it up in the manual - search for "Running a Script from a Layout File")  - but I find manually editing it in to be easier.

Cheers,

Brian



------------------------------
Brian Speirs
Senior Analyst - Information Systems
Rush Flat Ltd
Wellington NZ
------------------------------