WaitForBmp/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Key color of the user mask for the capture, matching the color of the BitmapMaskColor. You should set this value only if these two c…“)
(Založena nová stránka s textem „Specifies the number of times bitmaps were skipped during the search.“)
Řádek 53: Řádek 53:
 
Type [[Special:MyLanguage/Data types#Number | Number]]
 
Type [[Special:MyLanguage/Data types#Number | Number]]
  
Určuje počet výskytů bitmap, které se při vyhledávání přeskočí.
+
Specifies the number of times bitmaps were skipped during the search.
  
 
<span id="wait-"></span>
 
<span id="wait-"></span>

Verze z 2. 2. 2021, 10:52

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

Doba čekání v sekundách na výskyt hledané bitmapy.

CaptureMode

Type Number

Definuje oblast vyhledávání (0=desktop, 1=aktivní okno, 2=aktivní region, 3=oblast aktivního okna, 16=klientská část aktivního okna, 257-264=monitor 1-8, 512-520=aktivní region 0-8).

OnlyIfNotNull

Type Number

Pokud má hodnotu 1, pak se příkaz neprovádí v případě, kdy není zadána hodnota parametru Bitmap.

Enabled

Type Number

Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.

PreWait

Type Number

Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.

PostWait

Type Number

Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.

Výstupní parametry

Viz také

Příklady použití

Používání masky

Režimy snímání obrazovky

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

Časový limit a systémové parametry