WaitFor

<< Click to Display Table of Contents >>

Navigation:  Support for TN3270 Plus™ macros >

WaitFor

Description

Wait until one of the specified string(s) is displayed. When a string is found, script processing continues at the position indicated by the label.
When the WaitFor command is used with a single string parameter with no label, script processing continues with the next command.

Syntax

WaitFor(string1[,label1:] [,string2,label2:...,string10,label10:][,minimized | hidden][,WindowPos]

or

WaitFor string1[,label1:] [,string2,label2:...,string10,label10:][,minimized | hidden][,WindowPos]

 

Parameters

Part

Type

Description

stringxx

String

Required. Variable to contain host screen data.

labelxx

String

Optional. The name of the label in the script
When the string is found, script processing continues with the next command.

minimized | hidden

String

Optional. Specifies how the Wait dialog box is displayed. With hidden, no dialog box is displayed.
With the wait dialog box, the user has the option to cancel the wait

WindowPos


This parameter is not supported in Quick3270.