BmpCount/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Search for given Bitmap on the screen and counts the number of occurrences. Result is stored in the output parameter Count. It i…“)
(Založena nová stránka s textem „== Input parameters ==“)
Řádek 11: Řádek 11:
 
Search for given [[#bitmap-| Bitmap]] on the screen and counts the number of occurrences. Result is stored in the output parameter [[#count-| Count]]. It is possible to specify masking ([[#maskmode-| MaskMode]], [[#bitmapmaskcolor-| BitmapMaskColor]] and [[#screenmaskcolor-| ScreenMaskColor]] parameters). The search area is determined by the value of the [[#capturemode-| CaptureMode]] parameter.
 
Search for given [[#bitmap-| Bitmap]] on the screen and counts the number of occurrences. Result is stored in the output parameter [[#count-| Count]]. It is possible to specify masking ([[#maskmode-| MaskMode]], [[#bitmapmaskcolor-| BitmapMaskColor]] and [[#screenmaskcolor-| ScreenMaskColor]] parameters). The search area is determined by the value of the [[#capturemode-| CaptureMode]] parameter.
  
== Vstupní parametry ==
+
== Input parameters ==
  
 
<span id="bitmap-"></span>
 
<span id="bitmap-"></span>

Verze z 7. 7. 2020, 17:45

Jiné jazyky:
English • ‎čeština

Description

Alias: BC

Detects the number of a bitmap occurrences.

Search for given Bitmap on the screen and counts the number of occurrences. Result is stored in the output parameter Count. It is possible to specify masking ( MaskMode, BitmapMaskColor and ScreenMaskColor parameters). The search area is determined by the value of the CaptureMode parameter.

Input parameters

Bitmap

Typ Bitmap

Zjišťovaná bitmapa.

MaskMode

Typ Number

Režim masky použité při vyhledávání (0=žádná, 1=uživatelská maska, 2=automatická maska).

BitmapMaskColor

Typ Color

Klíčová barva uživatelské masky v zadané bitmapě (používá se pouze při MaskMode=1).

ScreenMaskColor

Typ Color

Klíčová barva uživatelské masky na sejmuté obrazovce, odpovídající barvě BitmapMaskColor. Tuto hodnotu je třeba nastavit jen v případě, že se tyto dvě barvy liší.

CaptureMode

Typ 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).

Enabled

Typ Number

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

PreWait

Typ Number

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

PostWait

Typ Number

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

Výstupní parametry

Count

Typ Number

Počet výskytů bitmapy.

Viz také

Používání masky

Režimy snímání obrazovky