PASSPORT Knowledge Base
Macros

Date Published: May 20, 2004
Date Updated: March 7, 2008

Title

Recorded Macro Fails With Long Text String

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

TN3270, TN5250, VT, SCO ANSI, Wyse 60

Issue

I have recorded a macro, which uses the SendHostKeys command to send a long text string to the host screen. When I run the macro, I receive the following "An invalid string was passed to SendHostKeys" error message:

 

 

Solution

This error is due to a 255 character limit on the text string parameter of the SendHostKeys command.

More Information

Keywords

macro, sendhostkeys, string, invalid