WaitForBmp/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „== See also ==“)
(Založena nová stránka s textem „ Examples of use“)
Řádek 97: Řádek 97:
 
== See also ==
 
== See also ==
  
[[Special:MyLanguage/Příklady použití#WaitForBmp | Příklady použití]]
+
[[Special:MyLanguage/Examples of use#WaitForBmp | Examples of use]]
  
 
[[Special:MyLanguage/Používání masky|Používání masky]]
 
[[Special:MyLanguage/Používání masky|Používání masky]]

Verze z 2. 2. 2021, 10:56

Jiné jazyky:
English • ‎čeština

Description

Alias: WFB

Waits for the bitmap.

Depending on the value of WaitMode, it waits for the Bitmap to appear or disappear. To search for the reference bitmap, the maximum waiting time can be set using the Wait parameter, to skip multiple occurrences using the Skip1 or Skip2 parameters, and to mask the search by using the parameters MaskMode1, BitmapMaskColor1 and ScreenMaskColor1 or MaskMode2, BitmapMaskColor2 and ScreenMaskColor2. If the bitmap is not found in the search area specified by the CaptureMode, the command ends in error.

Input parameters

Bitmap

Type Bitmap

Detected bitmap.

WaitMode

Type Number

Bitmap wait mode (0=wait to display, 1=wait to disappear).

MaskMode

Type Number

Mask mode used for the search (0=none, 1=user mask, 2=automatic mask).

BitmapMaskColor

Type Color

Key color of the user mask in the specified bitmap (used only for MaskMode=1).

ScreenMaskColor

Type Color

Key color of the user mask for the capture, matching the color of the BitmapMaskColor. You should set this value only if these two colors are different.

Skip

Type Number

Specifies the number of times bitmaps were skipped during the search.

Wait

Type Number

Waiting time in seconds for the detected bitmap to appear.

CaptureMode

Type Number

Defines the search area (0=desktop, 1=active window, 2=active region, 3=active window area, 16=client part of the active window, 257-264=monitor 1-8, 512-520=active region 0-8).

OnlyIfNotNull

Type Number

If the value is 1, the command will not run unless the value of the Bitmap parameter is specified.

Enabled

Type Number

Enables or disables the command. If the value is 0, the command will not execute.

PreWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

Output parameters

See also

Examples of use

Používání masky

Režimy snímání obrazovky

Řešení více výskytů hledané bitmapy

Časový limit a systémové parametry