Comparing the Macro Recorder and the Scripting Language

Return to Introduction  Previous page  Next page

TN3270 Plus provides two ways to automate common tasks for users, the macro recorder and the scripting language.

The macro recorder records terminal keystrokes and allows you to replay them. It is quick and easy to use, but its function is limited in scope.

The scripting language can automate keystrokes and it can also contain logic statements, transfer files, prompt the user for input and start other applications. The scripting language requires that you create a text file containing script commands with a word processor and then run the script file.  The scripting language is more difficult to use than the macro recorder.

If you just want to automate keystrokes, the macro recorder is the best choice. If you want to automate other tasks you will need to write a script.

The following table summarizes the facilities in the Macro Recorder and the Scripting Language.

 

Operation

Macro

Recorder

Scripting

Language

Record keystrokes

Yes

No

Type text

Yes

Yes

"Press" terminal key

Yes

Yes

Wait for a number of seconds

Yes

Yes

Wait for text from host 

No

Yes

Conditional processing

No

Yes

Transfer files

No

Yes

Prompt user

No

Yes

Start other applications

No

Yes

Connect sessions

No

Yes

Switch sessions

No

Yes


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.