ScrollForBmp/en: Porovnání verzí
(Založena nová stránka s textem „Type Number“) |
(Založena nová stránka s textem „Delay in milliseconds before executing the command. It has no effect if Enabled=0.“) |
||
| Řádek 105: | Řádek 105: | ||
Type [[Special:MyLanguage/Data types#Number | Number]] | Type [[Special:MyLanguage/Data types#Number | Number]] | ||
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
== Výstupní parametry == | == Výstupní parametry == | ||
Verze z 30. 1. 2021, 10:13
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
Waiting time for the searched bitmap to appear.
CaptureMode
Type Number
Defines the search area (0=desktop, 1=active window, 2=active region, 3=active window area, 16=client part of the active window, 257-264=monitor 1-8, 512-520=active region 0-8).
OnlyIfNotNull
Type Number
If the value is 1, the command will not execute unless the value of the Bitmap parameter is specified.
Enabled
Type Number
Enables or disables the command. If the value is 0, the command will not execute.
PreWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.
PostWait
Type Number
Delay in milliseconds before executing the command. It has no effect if Enabled=0.