
PowerTerm LTC
91
Users Guide
10. Scripts
PowerTerm LTC enables you to create scripts for automating tasks. For example,
you can create a script to login to a PowerTerm LTC session, execute a file, display
a message, etc. Scripts can be run upon startup or during a PowerTerm LTC
session. They can be written in any standard text editor and are saved with a .psl
extension. This chapter describes how to create, edit, run, save and activate script
in PowerTerm LTC.
The PowerTerm LTC Script Language (PSL) is PowerTerm LTC's own programming
language. For a full description of the different PSL commands, see the "PowerTerm
Script Language Reference".
PowerTerm LTC provides the following script options:
•
Record a Script, creates a script by recording all the actions that you
perform in the PowerTerm LTC window.
•
Run Scripts, runs specific scripts or individual commands, upon startup,
connection to a host, or during a PowerTerm LTC session, to automate
specific tasks. You can only run saved scripts.
•
Activate a Recorded Script, executes a non-saved script from the current
memory.
•
Save a Recorded Script, saves your script to be used at a later date.
•
Assign Scripts, to the Soft buttons.
To record a script:
6.
Select Script | Start Script Recording or click
. Your actions start to be
recorded and the menu option changes to Stop Script Recording.
7.
Perform the manual operations that you want to record. For example, select
a menu option, enter parameters in a dialog, or type a password.
8.
Select Script | Pause Script Recording if you do not want to record certain
operations. The script recording process pauses and the menu option
changes to Continue Script Recording.
9.
Select Script | Continue Script Recording to resume the recording.
10.
Select Script | Stop Script Recording or click
when you have performed
all the operations to be stored in the script. You can also save the script that
you just created, so that you can run it at any time to repeat the operations.
To activate a recorded script:
Select Script | Activate Recorded Script (<Alt>+<F9>). The script currently
recorded in memory is now activated.
Содержание PowerTerm LTC
Страница 1: ...PowerTerm LTC Version 9 1 User s Guide...