CaptureBitmap/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „ Number type“)
 
(Není zobrazeno 32 mezilehlých verzí od 3 dalších uživatelů.)
Řádek 9: Řádek 9:
 
'''Gets the rectangular area of the screen specified by the two references.'''
 
'''Gets the rectangular area of the screen specified by the two references.'''
  
Searches the reference bitmaps [[#bitmap1-| Bitmap1]] and [[#bitmap2-| Bitmap2]] on the screen, and then saves a rectangular viewport determined by the points [[#reference1-| Reference1]] and [[#reference2-| Reference2]] as a bitmap in the [[#bitmap-| Bitmap]] output parameter. It is possible to set the timeout with the [[#wait-| Wait]] parameter, skip multiple occurrences with the [[#skip1-| Skip1]] and [[#skip2-| Skip2]] parameters and specify masking ([[#maskmode1-| MaskMode1]], [[#bitmapmaskcolor1-| BitmapMaskColor1]] and [[#screenmaskcolor1-| ScreenMaskColor1]] eventually [[#maskmode2-| MaskMode2]], [[#bitmapmaskcolor2-| BitmapMaskColor2]] and [[#screenmaskcolor2-| ScreenMaskColor2]] parameters). The search area is determined by the value of the [[#capturemode-| CaptureMode]] parameter. If any of the bitmaps is not found, the command ends with an error.
+
Searches the reference [[#bitmap1-| Bitmap1]] and [[#bitmap2-| Bitmap2]] on the screen, and then saves a rectangular viewport determined by the points [[#reference1-| Reference1]] and [[#reference2-| Reference2]] as a bitmap in the [[#bitmap-| Bitmap]] output parameter. It is possible to set the timeout with the [[#wait-| Wait]] parameter, skip multiple occurrences with the [[#skip1-| Skip1]] and [[#skip2-| Skip2]] parameters and specify masking ([[#maskmode1-| MaskMode1]], [[#bitmapmaskcolor1-| BitmapMaskColor1]] and [[#screenmaskcolor1-| ScreenMaskColor1]] or [[#maskmode2-| MaskMode2]], [[#bitmapmaskcolor2-| BitmapMaskColor2]] and [[#screenmaskcolor2-| ScreenMaskColor2]] parameters). The search area is determined by the value of the [[#capturemode-| CaptureMode]] parameter. If none of the bitmaps is found, the command ends with an error.
  
 
== Input parameters ==
 
== Input parameters ==
Řádek 25: Řádek 25:
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
  
A reference relative to the [[#bitmap1-| Bitmap1]] specifying the first corner of the viewport.
+
A reference relative to [[#bitmap1-| Bitmap1]] specifying the first corner of the viewport.
  
 
<span id="bitmap2-"></span>
 
<span id="bitmap2-"></span>
Řádek 39: Řádek 39:
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
  
A reference relative to the [[#bitmap2-| Bitmap2]] specifying the first corner of the viewport.
+
A reference relative to [[#bitmap2-| Bitmap2]] specifying the first corner of the viewport.
  
 
<span id="maskmode1-"></span>
 
<span id="maskmode1-"></span>
Řádek 46: Řádek 46:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Mask mode used for [[#bitmap1-| Bitmap1]] search (0=none, 1=user mask, 2=automatic mask).
+
Mask mode used for the [[#bitmap1-| Bitmap1]] search (0=none, 1=user mask, 2=automatic mask).
  
 
<span id="bitmapmaskcolor1-"></span>
 
<span id="bitmapmaskcolor1-"></span>
Řádek 53: Řádek 53:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask in the [[#bitmap1-| Bitmap1]] (used only if [[#maskmode1-| MaskMode1]]=1).
+
The key color of the user mask in [[#bitmap1-| Bitmap1]] (used only if [[#maskmode1-| MaskMode1]]=1).
  
 
<span id="screenmaskcolor1-"></span>
 
<span id="screenmaskcolor1-"></span>
Řádek 60: Řádek 60:
 
[[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 [[#bitmapmaskcolor1-| BitmapMaskColor1]]. It is only need to set this value if the two colors are different.
+
The key color of the user mask on the captured screen corresponding to the color [[#bitmapmaskcolor1-| BitmapMaskColor1]]. You should set this value only if these two colors are different.
  
 
<span id="maskmode2-"></span>
 
<span id="maskmode2-"></span>
Řádek 67: Řádek 67:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Mask mode used for [[#bitmap2-| Bitmap2]] search (0=none, 1=user mask, 2=automatic mask).
+
Mask mode used for the [[#bitmap2-| Bitmap2]] search (0=none, 1=user mask, 2=automatic mask).
  
 
<span id="bitmapmaskcolor2-"></span>
 
<span id="bitmapmaskcolor2-"></span>
Řádek 74: Řádek 74:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask in the [[#bitmap2-| Bitmap2]] (used only if [[#maskmode2-| MaskMode2]]=1).
+
The key color of the user mask in [[#bitmap2-| Bitmap2]] (used only if [[#maskmode2-| MaskMode2]]=1).
  
 
<span id="screenmaskcolor2-"></span>
 
<span id="screenmaskcolor2-"></span>
Řádek 81: Řádek 81:
 
[[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 [[#bitmapmaskcolor2-| BitmapMaskColor2]]. It is only need to set this value if the two colors are different.
+
The key color of the user mask on the captured screen corresponding to [[#bitmapmaskcolor2-| BitmapMaskColor2]]. You should set this value only if these two colors are different.
  
 
<span id="skip1-"></span>
 
<span id="skip1-"></span>
Řádek 88: Řádek 88:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Určuje počet výskytů bitmapy [[#bitmap1-| Bitmap1]], které se při vyhledávání přeskočí.
+
Defines the number of [[#bitmap1-| Bitmap1]] occurrences that are skipped when searched.
  
 
<span id="skip2-"></span>
 
<span id="skip2-"></span>
Řádek 95: Řádek 95:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Určuje počet výskytů bitmapy [[#bitmap2-| Bitmap2]], které se při vyhledávání přeskočí.
+
Defines the number of [[#bitmap2-| Bitmap2]] occurrences that are skipped when searched.
  
 
<span id="wait-"></span>
 
<span id="wait-"></span>
Řádek 102: Řádek 102:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Doba čekání na výskyt hledaných bitmap.
+
Timeout in seconds for the searched bitmaps to occur.
  
 
<span id="capturemode-"></span>
 
<span id="capturemode-"></span>
 +
 
=== CaptureMode ===
 
=== CaptureMode ===
  
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Definuje oblast vyhledávání bitmap [[#bitmap1-| Bitmap1]] a [[#bitmap2-| Bitmap2]].
+
Defines the search area for [[#bitmap1-| Bitmap1]] and [[#bitmap2-| Bitmap2]] (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 ===
 
=== Enabled ===
Řádek 115: Řádek 116:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
+
Enables or disables the command. If the value is 0, the command will not be executed.
  
 
=== PreWait ===
 
=== PreWait ===
Řádek 121: Řádek 122:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[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="bitmap-"></span>
 
<span id="bitmap-"></span>
 
=== Bitmap ===
 
=== Bitmap ===
  
Typ [[Special:MyLanguage/Datové typy#Bitmap | Bitmap]]
+
[[Special:MyLanguage/Datové typy#Bitmap | Bitmap]] type
  
Vygenerovaná bitmapa.
+
Generated bitmap.
  
== Viz také ==
+
== See also ==
  
[[Special:MyLanguage/Příklady použití#ClickBmpRef | Příklady použití]]
+
[[Special:MyLanguage/Příklady použití#ClickBmpRef | Examples of use]]
  
[[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]]
  
[[Special:MyLanguage/Řešení více výskytů hledané bitmapy|Řešení více výskytů hledané bitmapy]]
+
[[Special:MyLanguage/Řešení více výskytů hledané bitmapy|Resolving multiple occurrences of the searched bitmap]]
  
[[Special:MyLanguage/Časový limit a systémové parametry|Časový limit a systémové parametry]]
+
[[Special:MyLanguage/Časový limit a systémové parametry|Timeout and system parameters]]

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

Jiné jazyky:
English • ‎čeština

Description

Alias: CB

Gets the rectangular area of the screen specified by the two references.

Searches the reference Bitmap1 and Bitmap2 on the screen, and then saves a rectangular viewport determined by the points Reference1 and Reference2 as a bitmap in the Bitmap output parameter. It is possible to set the timeout with the Wait parameter, skip multiple occurrences with the Skip1 and Skip2 parameters and specify masking ( MaskMode1, BitmapMaskColor1 and ScreenMaskColor1 or MaskMode2, BitmapMaskColor2 and ScreenMaskColor2 parameters). The search area is determined by the value of the CaptureMode parameter. If none of the bitmaps is found, the command ends with an error.

Input parameters

Bitmap1

Bitmap type

Bitmap for reference of the first corner of the viewport.

Reference1

Reference type

A reference relative to Bitmap1 specifying the first corner of the viewport.

Bitmap2

Bitmap type

Bitmap for reference of the second corner of the viewport.

Reference2

Reference type

A reference relative to Bitmap2 specifying the first corner of the viewport.

MaskMode1

Number type

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

BitmapMaskColor1

Color type

The key color of the user mask in Bitmap1 (used only if MaskMode1=1).

ScreenMaskColor1

Color type

The key color of the user mask on the captured screen corresponding to the color BitmapMaskColor1. You should set this value only if these two colors are different.

MaskMode2

Number type

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

BitmapMaskColor2

Color type

The key color of the user mask in Bitmap2 (used only if MaskMode2=1).

ScreenMaskColor2

Color type

The key color of the user mask on the captured screen corresponding to BitmapMaskColor2. You should set this value only if these two colors are different.

Skip1

Number type

Defines the number of Bitmap1 occurrences that are skipped when searched.

Skip2

Number type

Defines the number of Bitmap2 occurrences that are skipped when searched.

Wait

Number type

Timeout in seconds for the searched bitmaps to occur.

CaptureMode

Number type

Defines the search area for Bitmap1 and Bitmap2 (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

Bitmap

Bitmap type

Generated bitmap.

See also

Examples of use

Using a mask

Capture modes

Resolving multiple occurrences of the searched bitmap

Timeout and system parameters