ScrollForBmp/en: Porovnání verzí
(Založena nová stránka s textem „Key color of the user mask for the capture, matching the color of the BitmapMaskColor. You should set this value only if these two c…“) |
(Založena nová stránka s textem „Type Number“) |
||
| Řádek 72: | Řádek 72: | ||
=== Wait === | === Wait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
Doba čekání na výskyt hledané bitmapy. | Doba čekání na výskyt hledané bitmapy. | ||
Verze z 30. 1. 2021, 10:02
Obsah
Description
Alias: SFB
Scrolls for bitmap.
Scrolls the document for the bitmap Bitmap by simulating the rotation of the mouse wheel. The scrolling direction is specified by the Direction parameter and size of each step by the Steps parameter. Scrolling can be limited by the ScrollCount parameter. To search for the bitmap, the maximum waiting time can be set by the Wait and doing a masked search using the (parameters MaskMode, BitmapMaskColor and ScreenMaskColor). The search area is specified by the value of the CaptureMode parameter. After finding the bitmap, additional scrolling can be defined with the AppendScrollSteps parameter. If the specified bitmap is not found, the command ends in error.
Input parameters
Bitmap
Type Bitmap
Bitmap to scroll for.
Direction
Type Number
"Scroll direction (0=down;1=up;2=right;3=left)."
Steps
Type Number
Number of steps of the mouse wheel used for scrolling.
ScrollCount
Type Number
Maximum number of scrolling steps.
AppendScrollSteps
Type Number
Number of steps of the mouse wheel taken after finding the bitmap.
MaskMode
Type Number
Mask mode used for the search (0=none, 1=user mask, 2=automatic mask).
BitmapMaskColor
Type Color
Key color of the user mask in the specified bitmap (used only for MaskMode=1).
ScreenMaskColor
Type Color
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.
Wait
Type Number
Doba čekání 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 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.