ClickBmpRef/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „Capture modes“)
 
(Není zobrazeno 22 mezilehlých verzí od 3 dalších uživatelů.)
Řádek 2: Řádek 2:
 
[[Category:GuiMaster]]
 
[[Category:GuiMaster]]
 
[[Category:GuiMaster Library]]
 
[[Category:GuiMaster Library]]
 
  
 
== Description ==
 
== Description ==
Řádek 8: Řádek 7:
 
'''Alias: CBR'''
 
'''Alias: CBR'''
  
'''Klikne na referenci vztaženou k bitmapě.'''
+
'''Clicks on the reference related to the bitmap.'''
 
 
Seeks a bitmap given by the [[Special:MyLanguage/#bitmap-| Bitmap]] parameter on the screen and then clicks on the related [[Special:MyLanguage/#reference-| Reference]] with the button specified by the [[Special:MyLanguage/#button-| Button]] parameter. The number of clicks is given by the [[Special:MyLanguage/#clickcount-| ClickCount]] parameter. If no reference is specified, it clicks on the center of the found bitmap. It is possible to set the timeout with the [[Special:MyLanguage/#wait-| Wait]] parameter, skip multiple occurrences with the [[Special:MyLanguage/#skip-| Skip]] parameter and specify masking ([[Special:MyLanguage/#maskmode-| MaskMode]], [[Special:MyLanguage/#bitmapmaskcolor-| BitmapMaskColor]] and [[Special:MyLanguage/#screenmaskcolor-| ScreenMaskColor]] parameters). The search area is determined by the value of the [[Special:MyLanguage/#capturemode-| CaptureMode]] parameter. In a case bitmap is not found, the command ends with an error.
 
  
 +
Searches for the bitmap given by the [[#bitmap-| Bitmap]] parameter on the screen and then clicks on the related [[#reference-| Reference]] with the button specified by the [[#button-| Button]] parameter. The number of clicks is given by the [[#clickcount-| ClickCount]] parameter. If no reference is specified, it clicks on the center of the detected bitmap. It is possible to set the timeout with the [[#wait-| Wait]] parameter, skip multiple occurrences with the [[#skip-| Skip]] parameter and specify masking with the ([[#maskmode-| MaskMode]], [[#bitmapmaskcolor-| BitmapMaskColor]] and [[#screenmaskcolor-| ScreenMaskColor]] parameters). The search area is determined by the value of the [[#capturemode-| CaptureMode]] parameter. In case no bitmap is found, the command ends with an error.
  
 
== Input parameters ==
 
== Input parameters ==
 
  
 
<span id="bitmap-"></span>
 
<span id="bitmap-"></span>
Řádek 21: Řádek 18:
 
[[Special:MyLanguage/Datové typy#Bitmap | Bitmap]] type
 
[[Special:MyLanguage/Datové typy#Bitmap | Bitmap]] type
  
A reference bitmap that, along with the [[Special:MyLanguage/#reference-| Reference]] parameter, determines where to click with the specified mouse button.
+
A reference bitmap that, along with the [[#reference-| Reference]] parameter, determines where to click with the specified mouse button.
 
 
  
 
<span id="reference-"></span>
 
<span id="reference-"></span>
Řádek 29: Řádek 25:
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
  
Reference realeted to [[Special:MyLanguage/#bitmap-| Bitmap]]. Determines the location of the click with the specified mouse button. If this parameter is empty, the center of the found bitmap is used as a reference.
+
Reference related to the [[#bitmap-| Bitmap]]. Determines the location of the click with the specified mouse button. If this parameter is empty, the center of the detected bitmap is used as the reference.
 
 
  
 
<span id="clickcount-"></span>
 
<span id="clickcount-"></span>
Řádek 38: Řádek 33:
  
 
Specifies the number of clicks. A value of 0 does not click, a value of 1 means a single click, a value of 2 means a double click, etc.
 
Specifies the number of clicks. A value of 0 does not click, a value of 1 means a single click, a value of 2 means a double click, etc.
 
  
 
<span id="button-"></span>
 
<span id="button-"></span>
Řádek 46: Řádek 40:
  
 
Specifies the mouse button to click (0=none, 1=left, 2=right, 3=middle).
 
Specifies the mouse button to click (0=none, 1=left, 2=right, 3=middle).
 
  
 
=== Key ===
 
=== Key ===
Řádek 52: Řádek 45:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Simulates pressing of modifier keys during a click. A value of 0 means no modifier key, otherwise it is possible to use any combination of values 1=Shift, 2=Control, 4=Alt.
+
Simulates pressing the shift keys during a click. A value of 0 means no shift key, otherwise it is possible to use any combination of values 1=Shift, 2=Control, 4=Alt.
 
 
  
 
<span id="maskmode-"></span>
 
<span id="maskmode-"></span>
Řádek 60: Řádek 52:
 
[[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>
 
 
=== BitmapMaskColor ===
 
=== BitmapMaskColor ===
  
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask in the [[Special:MyLanguage/#bitmap-| Bitmap]] (used only if [[Special:MyLanguage/#maskmode-| MaskMode]]=1).
+
The key color of the user mask in the [[#bitmap-| Bitmap]] (used only if [[#maskmode-| MaskMode]]=1).
 
 
  
 
<span id="screenmaskcolor-"></span>
 
<span id="screenmaskcolor-"></span>
Řádek 76: Řádek 67:
 
[[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 [[Special:MyLanguage/#bitmapmaskcolor-| BitmapMaskColor]]. 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 [[#bitmapmaskcolor-| BitmapMaskColor]]. You should set this value only if these two colors are different.
 
 
  
 
<span id="skip-"></span>
 
<span id="skip-"></span>
Řádek 84: Řádek 74:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Defines number of bitmap occurrences that are skipped when searched.
+
Defines the number of bitmap occurrences that are skipped when searched.
 
 
  
 
<span id="wait-"></span>
 
<span id="wait-"></span>
Řádek 93: Řádek 82:
  
 
Timeout in seconds for occurrence of searched bitmap.
 
Timeout in seconds for occurrence of searched bitmap.
 
  
 
<span id="capturemode-"></span>
 
<span id="capturemode-"></span>
Řádek 101: Řádek 89:
  
 
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).
 
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).
 
  
 
=== OnlyIfNotNull ===
 
=== OnlyIfNotNull ===
Řádek 107: Řádek 94:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
The command is not executed when the [[Special:MyLanguage/#bitmap-| Bitmap]] parameter value is not specified and value of this parameter is 1.
+
The command is not executed when the [[#bitmap-| Bitmap]] parameter value is not specified and the value of this parameter is 1.
 
 
  
 
=== Enabled ===
 
=== Enabled ===
Řádek 115: Řádek 101:
  
 
Enables or disables the command. If the value is 0, the command will not be executed.
 
Enables or disables the command. If the value is 0, the command will not be executed.
 
  
 
=== PreWait ===
 
=== PreWait ===
Řádek 121: Řádek 106:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Delay before executing the command. It has no effect if Enabled=0.
+
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
 
 
  
 
=== PostWait ===
 
=== PostWait ===
Řádek 128: Řádek 112:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Delay after executing the command. It has no effect if Enabled=0.
+
Delay in milliseconds after executing the command. It has no effect if Enabled=0.
 
 
  
 
== Output parameters ==
 
== Output parameters ==
 
  
 
== See also ==
 
== See also ==
Řádek 142: Řádek 124:
 
[[Special:MyLanguage/Režimy snímání obrazovky|Capture modes]]
 
[[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:45

Jiné jazyky:
English • ‎čeština

Description

Alias: CBR

Clicks on the reference related to the bitmap.

Searches for the bitmap given by the Bitmap parameter on the screen and then clicks on the related Reference with the button specified by the Button parameter. The number of clicks is given by the ClickCount parameter. If no reference is specified, it clicks on the center of the detected bitmap. It is possible to set the timeout with the Wait parameter, skip multiple occurrences with the Skip parameter and specify masking with the ( MaskMode, BitmapMaskColor and ScreenMaskColor parameters). The search area is determined by the value of the CaptureMode parameter. In case no bitmap is found, the command ends with an error.

Input parameters

Bitmap

Bitmap type

A reference bitmap that, along with the Reference parameter, determines where to click with the specified mouse button.

Reference

Reference type

Reference related to the Bitmap. Determines the location of the click with the specified mouse button. If this parameter is empty, the center of the detected bitmap is used as the reference.

ClickCount

Number type

Specifies the number of clicks. A value of 0 does not click, a value of 1 means a single click, a value of 2 means a double click, etc.

Button

Number type

Specifies the mouse button to click (0=none, 1=left, 2=right, 3=middle).

Key

Number type

Simulates pressing the shift keys during a click. A value of 0 means no shift key, otherwise it is possible to use any combination of values 1=Shift, 2=Control, 4=Alt.

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 Bitmap (used only if MaskMode=1).

ScreenMaskColor

Color type

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

Skip

Number type

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

Wait

Number type

Timeout in seconds for occurrence of searched bitmap.

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

OnlyIfNotNull

Number type

The command is not executed when the Bitmap parameter value is not specified and the value of this parameter is 1.

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

See also

Examples of use

Using a mask

Capture modes

Resolving multiple occurrences of the searched bitmap

Timeout and system parameters