Executing Commands at Startup
Adams View can be directed to execute a set of Adams View commands upon startup. See
Adams View command language for more information. When Adams View is launched, it loads:
aview.bin
Then, in the default working directory, it looks for:
■aviewBS.cmd (BS = before start)
■aview.cmd
■aviewAS.cmd (AS = after start)
So, you can add your commands into any of these.
Adams Car and other Adams View based products work the same way:
1. acar.bin
2. acarBS.cmd (BS = before start)
3. acar.cmd
4. acarAS.cmd (AS = after start)
These files can contain commands that customize the Adams View session. There are three locations they can be found, and by default they are searched for in the following order:
1. local working directory
2. "aview" subdirectory of the Adams installation
3. $HOME directory
The search mechanism for .cmd files is specified in the
aview.pth file (located in "aview" subdirectory of Adams installation). You can change the .cmd searching mechanism in this file. Once the one of these .cmd files is found, it is executed and Adams View does not look for further for more .cmd files of the same type in the any other directories.
If one of these three .cmd files is present in the directory from where Adams View is started, then that is given preference ahead of the aview.pth search mechanism.