ScrollForBmp/en: Porovnání verzí
(Založena nová stránka s textem „Type Number“) |
|||
| (Není zobrazeno 38 mezilehlých verzí od stejného uživatele.) | |||
| Řádek 7: | Řádek 7: | ||
'''Alias: SFB''' | '''Alias: SFB''' | ||
| − | '''Scrolls for bitmap.''' | + | '''Scrolls for the bitmap.''' |
| − | Scrolls the document for the | + | Scrolls the document for the [[#bitmap-|Bitmap]] by simulating the rotation of the mouse wheel. The scrolling direction is specified by [[#direction-|Direction]] and the size of each step by [[# steps- | Steps]]. Scrolling can be limited by [[#scrollcount-|ScrollCount]]. To search for the bitmap, timeout can be set using [[#wait-|Wait]] and doing a masked search using [[#maskmode-|MaskMode]], [[#bitmapmaskcolor-|BitmapMaskColor]] and [[#screenmaskcolor-|ScreenMaskColor]]. The search area is specified by the value of [[#capturemode-|CaptureMode]]. After finding the bitmap, additional scrolling can be defined using [[#appendscrollsteps-|AppendScrollSteps]]. If the specified bitmap is not found, the command ends in error. |
== Input parameters == | == Input parameters == | ||
| Řádek 32: | Řádek 32: | ||
Type [[Special:MyLanguage/Data types#Number | Number]] | Type [[Special:MyLanguage/Data types#Number | Number]] | ||
| − | + | Number of steps of the mouse wheel used for scrolling. | |
<span id="scrollcount-"></span> | <span id="scrollcount-"></span> | ||
=== ScrollCount === | === ScrollCount === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Maximum number of scrolling steps. | |
<span id="appendscrollsteps-"></span> | <span id="appendscrollsteps-"></span> | ||
=== AppendScrollSteps === | === AppendScrollSteps === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Number of steps of the mouse wheel taken after finding the bitmap. | |
<span id="maskmode-"></span> | <span id="maskmode-"></span> | ||
=== MaskMode === | === MaskMode === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Mask mode used for the search (0=none, 1=user mask, 2=automatic mask). | |
<span id="bitmapmaskcolor-"></span> | <span id="bitmapmaskcolor-"></span> | ||
=== BitmapMaskColor === | === BitmapMaskColor === | ||
| − | + | Type [[Special:MyLanguage/Data types#Color | Color]] | |
| − | + | Key color of the user mask in the specified bitmap (used only for [[#maskmode-| MaskMode]]=1). | |
<span id="screenmaskcolor-"></span> | <span id="screenmaskcolor-"></span> | ||
=== ScreenMaskColor === | === ScreenMaskColor === | ||
| − | + | Type [[Special:MyLanguage/Data types#Color | Color]] | |
| − | + | Key color of the user mask for the capture, matching the color of the [[#bitmapmaskcolor-| BitmapMaskColor]]. You should set this value only if these two colors are different. | |
<span id="wait-"></span> | <span id="wait-"></span> | ||
=== Wait === | === Wait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Waiting time for the searched bitmap to appear. | |
<span id="capturemode-"></span> | <span id="capturemode-"></span> | ||
=== CaptureMode === | === CaptureMode === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | 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 === | === OnlyIfNotNull === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | If the value is 1, the command will not execute unless the value of the [[#bitmap-| Bitmap]] is specified. | |
=== Enabled === | === Enabled === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Enables or disables the command. If the value is 0, the command will not execute. | |
=== PreWait === | === PreWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
=== PostWait === | === PostWait === | ||
| − | + | Type [[Special:MyLanguage/Data types#Number | Number]] | |
| − | + | Delay in milliseconds before executing the command. It has no effect if Enabled=0. | |
| − | == | + | == Output parameters == |
| − | == | + | == See also == |
| − | [[Special:MyLanguage/ | + | [[Special:MyLanguage/Examples of use#ScrollForBmp | Examples of use]] |
| − | [[Special:MyLanguage/ | + | [[Special:MyLanguage/Using masks|Using masks]] |
| − | [[Special:MyLanguage/ | + | [[Special:MyLanguage/Capture modes|Capture modes]] |
| − | [[Special:MyLanguage/ | + | [[Special:MyLanguage/Timeout and system parameters|Timeout and system parameters]] |
Aktuální verze z 3. 2. 2021, 13:57
Obsah
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.