ScrollForBmp

Z Wiki
Přejít na: navigace, hledání
Toto je přeložená verze stránky ScrollForBmp, překlad je hotový z 100 %.

Jiné jazyky:
English • ‎čeština

Description

Alias: SFB

Scrolls for the bitmap.

Scrolls the document for the Bitmap by simulating the rotation of the mouse wheel. The scrolling direction is specified by Direction and the size of each step by Steps. Scrolling can be limited by ScrollCount. To search for the bitmap, timeout can be set using Wait and doing a masked search using MaskMode, BitmapMaskColor and ScreenMaskColor. The search area is specified by the value of CaptureMode. After finding the bitmap, additional scrolling can be defined using AppendScrollSteps. 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 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.

Output parameters

See also

Examples of use

Using masks

Capture modes

Timeout and system parameters