autECLPS.WaitForAttrib

<< Click to Display Table of Contents >>

Navigation:  Support for IBM® Personal Communications™ macros > autECLPS >

autECLPS.WaitForAttrib

Description

Waits until the specified attribute is displayed at the specified screen location.
Returns True if the Attribute value is found,

Syntax

autECLSession.autECLPS.WaitForAttrib(row, col, Waitdata, [optional] MaskData, [optional] plane , [optional] TimeOut, [optional] WaitForIr)

 

Parameters

Part

Type

Description

row

Integer

Required. Row position of the attribute.

col

Integer

Required. Column position of the attribute.

Waitdata

Integer

Required. Specifies the value of the attribute to wait for.

MaskData

Integer

Optional. Specifies the value to use as a mask with the attribute. The default value is &HFF.

plane

Integer

Optional. Specifies the plane of the attribute to get. The default value is 3.

TimeOut

Integer

Optional. Specifies the maximum length of time in Milliseconds to wait. Default value is Infinite.

WaitForIr

Boolean

Optional. If this value is true, after meeting the wait condition the function will wait until the session is ready to accept input.
Default value is False

Returns

The function returns True if the condition is met or False if the Timeout value is exceeded.

Remarks

The plane can have the following values:

1        Text Plane
2        Color Plane
3        Field Plane
4        Extended Field Plane

 

Sample

autECLSession.autECLPS.WaitForAttrib 19,28,"00","3c",3,1000