ClickBmpRef/en: Porovnání verzí
(Založena nová stránka s textem „Defines number of bitmap occurrences that are skipped when searched.“) |
(Založena nová stránka s textem „ Number type“) |
||
| Řádek 90: | Řádek 90: | ||
=== Wait === | === Wait === | ||
| − | + | [[Special:MyLanguage/Datové typy#Number | Number]] type | |
Doba čekání v sekundách na výskyt hledané bitmapy. | Doba čekání v sekundách na výskyt hledané bitmapy. | ||
Verze z 3. 7. 2020, 12:30
Obsah
Description
Alias: CBR
Klikne na referenci vztaženou k bitmapě.
Seeks a 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 found bitmap. It is possible to set the timeout with the Wait parameter, skip multiple occurrences with the Skip parameter and specify masking ( MaskMode, BitmapMaskColor and ScreenMaskColor parameters). The search area is determined by the value of the CaptureMode parameter. In a case bitmap is not 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 realeted to 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.
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 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.
MaskMode
Number type
Mask mode used for 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 color BitmapMaskColor. It is only need to set this value if the two colors are different.
Skip
Number type
Defines number of bitmap occurrences that are skipped when searched.
Wait
Number type
Doba čekání v sekundách na výskyt hledané bitmapy.
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).
OnlyIfNotNull
Typ Number
Pokud má hodnotu 1, pak se příkaz neprovádí v případě, kdy není zadána hodnota parametru Bitmap.
Enabled
Typ Number
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
PreWait
Typ Number
Prodleva před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
PostWait
Typ Number
Prodleva po provedení příkazu. Nemá žádný vliv je-li Enabled=0.