Home > Language Reference > System Variables > BitmapPrecision

#BitmapPrecision

The #BitmapPrecision system variable specifies how closely the found image must match the input image in Pause on Bitmap and ClickOnBitmap functions. The default value is 100 which means exact match.

Usage

Mainly used in TSE/Citrix environments for generating successfull bitmap synchronizations even when the found bitmap at replay is slightly different from the one at recording.

Syntax

#BitmapPrecision=<value>

Parameters

<value>, integer, from 0 to 100.

Remarks

If the bitmap is not found at the given precision level in a Pause on bitmap block, the PauseFalse part is executed. If the bitmap is not found at the given precision level in a ClickOnBitmap statement, the return code of the function is set to a non zero value after #ActionTimeout (See ClickOnBitmap help article for the possible non zero values).

#BitmapPrecision value applies to all the subsequent lines in the script unless a new #BitmapPrecision assignment changes its value.

See also

ActionTimeout
CurrentLine
DbDateFormat
DecimalSeparator$
ErrorCode
ErrorFunction$
ErrorLine$
ErrorMsg$
ErrorScript$
ExecTimeout
ExecuteDelay
FTPTimeout
HideIcon
HideTrayIcon
HTMLBrowser$
HTMLPosRetry
IgnoreErrors
IgnoreHTMLCase
LastErrorLine
LastErrorLine$
PageSynchroLevel
PauseTimeout
Precision
ScriptAfterTimeout$
SendKeysDelay
UseExact
UsePageExact

Example

#BitmapPrecision=80