197 Comms
To use a ‘programmed’ function key:
• Simply tap on the toolbar button, or do so while holding down Shift or Ctrl
as appropriate.
The Comms program contains a Script editor which allows you to create lists
of instructions to automate procedures such as logging on to a remote
computer. Scripts allow you to control all the aspects of a connection that you
would normally handle in the Terminal emulation screen, such as
communication settings and file transfers.
This section provides an introduction to creating and working with scripts,
followed by a full glossary of the scripting language commands.
To create a new script:
1. Select Create new script on the Scripts menu. Enter a name and location
for the script and press OK.
Note! Script names must have a .scr extension. When you save your script,
Comms will add .scr to the end of its name.
2. Comms will move to the script editor. You can then enter your script.
3. Tap Save to return to the main Comms view.
When creating a new script for, e.g., a connection to a BBS system, it can be
useful to first record the logging in process using Capture to file on the
Transfer menu. This records the prompts sent to you by the remote machine
when connecting, and can then be used as a starting point for creating the
script.
To edit an existing script:
1. Select Open on the Scripts menu, and choose the script you want to work
on. Press OK.
2. When you have finished editing the script, tap Save or use Save as to give
the new version a different name. Comms will return to the Terminal
emulation screen.
Note! You can adjust the font and character size of text displayed in the Script
editor by pressing F whilst holding down the Ctrl and Shift keys, then
selecting the appropriate options in the Set font dialog.
The example script
The MC 218 comes with an example script using a wide range of the features
available in the scripting language.
To access the script:
• Select Create standard files on the Tools menu. Select a folder for
Comms to place the example script in, and press OK.
SCRIPTS
WORKING WITH SCRIPTS