Click or drag to resize

OhioScreenWaitForStrAsync Method

Waits for text to appear at specific virtual screen location.

Namespace:  Flex.Hal.Ohio
Assembly:  Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax
public Task<bool> WaitForStrAsync(
	string text,
	int pos,
	int msec,
	bool ignorecase,
	CancellationToken canceltoken
)

Parameters

text
Type: SystemString
The target string to wait for.
pos
Type: SystemInt32
The screen position of the target string.
msec
Type: SystemInt32
The length of time to wait in milliseconds before a time-out occurs.
ignorecase
Type: SystemBoolean
Indicates whether the string to wait for is case sensitive. True means that case is ignored.
canceltoken
Type: System.ThreadingCancellationToken
Token to cancel the wait.

Return Value

Type: TaskBoolean
True if text is received before a time out or cancellation; otherwise, false.
See Also