BmpCount/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Enables or disables the command. If the value is 0, the command will not be executed.“)
 
(Není zobrazeno 14 mezilehlých verzí od 2 dalších uživatelů.)
Řádek 7: Řádek 7:
 
'''Alias: BC'''
 
'''Alias: BC'''
  
'''Detects the number of a bitmap occurrences.'''
+
'''Detects the number of bitmap occurrences.'''
  
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.
+
Searches for the [[#bitmap-| Bitmap]] on the screen and counts the number of its occurrences. The 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.
  
 
== Input parameters ==
 
== Input parameters ==
Řádek 25: Řádek 25:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Mask mode used for bitmap search (0=none, 1=user mask, 2=automatic mask).
+
Mask mode used for the bitmap search (0=none, 1=user mask, 2=automatic mask).
  
 
<span id="bitmapmaskcolor-"></span>
 
<span id="bitmapmaskcolor-"></span>
Řádek 32: Řádek 32:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask in the ~Bitmap (used only if [[#maskmode-| MaskMode]]=1).
+
The key color of the user mask in the specified Bitmap (used only if [[#maskmode-| MaskMode]]=1).
  
 
<span id="screenmaskcolor-"></span>
 
<span id="screenmaskcolor-"></span>
Řádek 39: Řádek 39:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask on the captured screen corresponding to the color [[#bitmapmaskcolor-| BitmapMaskColor]]. It is only need to set this value if the two colors are different.
+
Key color of the user mask for the capture, matching the color of the [[#bitmapmaskcolor-| BitmapMaskColor]]. You should set this value only if these two colors are different.
  
 
<span id="capturemode-"></span>
 
<span id="capturemode-"></span>
Řádek 56: Řádek 56:
 
=== PreWait ===
 
=== PreWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
  
 
=== PostWait ===
 
=== PostWait ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
+
Delay in milliseconds after executing the command. It has no effect if Enabled=0.
  
== Výstupní parametry ==
+
== Output parameters ==
  
 
<span id="count-"></span>
 
<span id="count-"></span>
 
=== Count ===
 
=== Count ===
  
Typ [[Special:MyLanguage/Datové typy#Number | Number]]
+
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Počet výskytů bitmapy.
+
Number of bitmap occurrences.
  
== Viz také ==
+
== See also ==
  
[[Special:MyLanguage/Používání masky|Používání masky]]
+
[[Special:MyLanguage/Používání masky|Using a mask]]
  
[[Special:MyLanguage/Režimy snímání obrazovky|Režimy snímání obrazovky]]
+
[[Special:MyLanguage/Režimy snímání obrazovky|Capture modes]]

Aktuální verze z 3. 2. 2021, 09:11

Jiné jazyky:
English • ‎čeština

Description

Alias: BC

Detects the number of bitmap occurrences.

Searches for the Bitmap on the screen and counts the number of its occurrences. The 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

Bitmap type

Detected bitmap.

MaskMode

Number type

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

BitmapMaskColor

Color type

The key color of the user mask in the specified Bitmap (used only if MaskMode=1).

ScreenMaskColor

Color type

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.

CaptureMode

Number type

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

Enabled

Number type

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

PreWait

Number type

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

PostWait

Number type

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

Output parameters

Count

Number type

Number of bitmap occurrences.

See also

Using a mask

Capture modes