Using TinyTERM's Micro Recorder.
Question:
I need a way to repeat the same sequence of actions over and over again. I know the CScript scripting language can do this, but is there some easy way to generate a script automatically?
Answer:
Yes, through the Macro Recorder. This tool copies the keys you type in, watches for responses from the host system, and records it all to a CScript file which can be played back later. To use the Macro Recorder:
- On the Tools menu, click Macro Recorder.
- In the list box, type a name for the macro. If you accept the default name, the ## signs will be replaced by numbers; e.g., KeyMac00.cs. Every new macro will be assigned a new number, one higher than the last macro created.
- Click the Record button to begin recording.
- Type the commands and other keystrokes you wish to record.
- Click the Pause button to temporarily halt recording and to start recording again later.
- Click the Stop button to end recording and write the macro file.
Question:
OK, now that I've created a macro file, how do I run it?
Answer:
There are two ways to playback a macro:
1. Open the Macro Recorder. In the list box, type the name of the macro. Click the Play button.
2. Click on Tools | Execute Script File. Select the macro from the list of scripts, then click the Open button.
Question:
It's not doing quite what I wanted. It's close, but there are a few things I'd like to change. Should I record a new macro?
Answer:
You certainly could. You can also edit the existing macro. To do this go to the Tools menu and select Script Editor. Click the Open button to select your macro, then edit it as you need to.
Question:
Where can I find out more information on CScript?
Answer:
A complete set of CScript documentation was included when you installed TinyTERM. To select one of these documents, click on the Start button and select Programs | TinyTERM | Documentation. The following four documents are available:
TinyTERM CScript User's Guide
This document contains an introduction to CScript, which can be used to manipulate, customize, and automate the TinyTERM environment. CScript Builtin Function Reference
This document describes the CScript command set and how to use the built-in functions in your own scripts. CScript Object Reference - FT Control
This document describes the commands and functions available for built-in file transfer functions, which can be incorporated into your own scripts. CScript Object Reference - TE Control
This document describes the commands and functions available for terminal emulation, communications, and host mode access.
Answer:
Century's technical support group is also happy to answer any questions you may have concerning CScript and the macro recorder, including assistance in writing or debugging scripts and macros. They can be reached by phone at +1.801.268.3088 or via email at support@centurysoftware.com.