CaptureText/en: Porovnání verzí

Z Wiki
Přejít na: navigace, hledání
(Založena nová stránka s textem „== See also ==“)
 
(Není zobrazeno 23 mezilehlých verzí od 3 dalších uživatelů.)
Řádek 9: Řádek 9:
 
'''Selects and copies text.'''
 
'''Selects and copies text.'''
  
Selects text by clicking the [[#button-| Button]] at the point specified by [[#reference1-| Reference1]] related to [[#bitmap1-| Bitmap1]] and dragging to [[#reference2-| Reference2]] related to [[#bitmap2-| Bitmap2]]. The selected text is copied using the clipboard and saved in the output parameter [[#text-| Text]]. The number of clicks in [[#reference1-| Reference1]] is determined by the [[#clickcount-| ClickCount]] parameter. It is possible to set the timeout with the [[#wait-| Wait]] parameter, skip multiple occurrences with the [[#skip1-| Skip1]] and [[#skip2-| Skip2]] parameters and specify masking ([[#maskmode1-| MaskMode1]], [[#bitmapmaskcolor1-| BitmapMaskColor1]] and [[#screenmaskcolor1-| ScreenMaskColor1]] eventually [[#maskmode2-| MaskMode2]], [[#bitmapmaskcolor2-| BitmapMaskColor2]] and [[#screenmaskcolor2-| ScreenMaskColor2]] parameters). The search area is determined by the value of the [[#capturemode1-| CaptureMode1]] and [[#capturemode2-| CaptureMode2]] parameters. If any of the bitmaps is not found, the command ends with an error.
+
Selects text by clicking the [[#button-| Button]] at the point specified by [[#reference1-| Reference1]] related to [[#bitmap1-| Bitmap1]] and dragging it to [[#reference2-| Reference2]] related to [[#bitmap2-| Bitmap2]]. The selected text is copied using the clipboard and saved in the output parameter [[#text-| Text]]. The number of clicks in [[#reference1-| Reference1]] is determined by the [[#clickcount-| ClickCount]] parameter. It is possible to set the timeout with the [[#wait-| Wait]] parameter, to skip multiple occurrences with the [[#skip1-| Skip1]] and [[#skip2-| Skip2]] parameters and specify masking with ([[#maskmode1-| MaskMode1]], [[#bitmapmaskcolor1-| BitmapMaskColor1]] and [[#screenmaskcolor1-| ScreenMaskColor1]] or [[#maskmode2-| MaskMode2]], [[#bitmapmaskcolor2-| BitmapMaskColor2]] and [[#screenmaskcolor2-| ScreenMaskColor2]] parameters). The search area is determined by the value of the [[#capturemode1-| CaptureMode1]] and [[#capturemode2-| CaptureMode2]] parameters. If none of the bitmaps is found, the command ends with an error.
  
 
== Input parameters ==
 
== Input parameters ==
Řádek 25: Řádek 25:
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
  
A reference relative to the [[#bitmap1-| Bitmap1]] specifying the start of text selection.
+
Reference relative to [[#bitmap1-| Bitmap1]] specifying the start of text selection.
  
 
<span id="bitmap2-"></span>
 
<span id="bitmap2-"></span>
Řádek 39: Řádek 39:
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
 
[[Special:MyLanguage/Datové typy#Reference | Reference]] type
  
A reference relative to the [[#bitmap2-| Bitmap2]] specifying the end of text selection.
+
Reference relative to the [[#bitmap2-| Bitmap2]] specifying the end of text selection.
  
 
<span id="clickcount-"></span>
 
<span id="clickcount-"></span>
Řádek 46: Řádek 46:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Specifies the number of clicks at the [[#reference1-| Reference1]] position. A value of 0 does not click, a value of 1 means a single click, a value of 2 means a double click, etc. The last click will be released after moving the mouse cursor at [[#reference2-| Reference2]] point.
+
Specifies the number of clicks at the [[#reference1-| Reference1]] position. A value of 0 does not click, a value of 1 means a single click, a value of 2 means a double click, etc. The last click will be released after moving the mouse cursor at the [[#reference2-| Reference2]] point.
  
 
<span id="button-"></span>
 
<span id="button-"></span>
Řádek 67: Řádek 67:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask in the [[#bitmap1-| Bitmap1]] (used only if [[#maskmode1-| MaskMode1]]=1).
+
The key color of the user mask in [[#bitmap1-| Bitmap1]] (used only if [[#maskmode1-| MaskMode1]]=1).
  
 
<span id="screenmaskcolor1-"></span>
 
<span id="screenmaskcolor1-"></span>
Řádek 74: Řádek 74:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask on the captured screen corresponding to the color [[#bitmapmaskcolor1-| BitmapMaskColor1]]. It is only need to set this value if the two colors are different.
+
The key color of the user mask on the captured screen corresponding to [[#bitmapmaskcolor1-| BitmapMaskColor1]]. You should set this value only if these two colors are different.
  
 
<span id="maskmode2-"></span>
 
<span id="maskmode2-"></span>
Řádek 88: Řádek 88:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask in the [[#bitmap2-| Bitmap2]] (used only if [[#maskmode2-| MaskMode2]]=1).
+
The key color of the user mask in [[#bitmap2-| Bitmap2]] (used only if [[#maskmode2-| MaskMode2]]=1).
  
 
<span id="screenmaskcolor2-"></span>
 
<span id="screenmaskcolor2-"></span>
Řádek 95: Řádek 95:
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
 
[[Special:MyLanguage/Datové typy#Color | Color]] type
  
The key color of the user mask on the captured screen corresponding to the color [[#bitmapmaskcolor2-| BitmapMaskColor2]]. It is only need to set this value if the two colors are different.
+
The key color of the user mask on the captured screen corresponding to [[#bitmapmaskcolor2-| BitmapMaskColor2]]. You should set this value only if these two colors are different.
  
 
<span id="skip1-"></span>
 
<span id="skip1-"></span>
Řádek 102: Řádek 102:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Defines number of [[#bitmap1-| Bitmap1]] occurrences that are skipped when searched.
+
Defines the number of [[#bitmap1-| Bitmap1]] occurrences that are skipped when searched.
  
 
<span id="skip2-"></span>
 
<span id="skip2-"></span>
Řádek 116: Řádek 116:
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
 
[[Special:MyLanguage/Datové typy#Number | Number]] type
  
Timeout in seconds for occurrence of searched bitmaps.
+
Timeout in seconds for searched bitmaps to appear.
  
 
<span id="capturemode1-"></span>
 
<span id="capturemode1-"></span>
 +
 
=== CaptureMode1 ===
 
=== CaptureMode1 ===
  
Řádek 161: Řádek 162:
 
== See also ==
 
== See also ==
  
[[Special:MyLanguage/Příklady použití#CaptureText | Příklady použití]]
+
[[Special:MyLanguage/Příklady použití#CaptureText | Examples of use]]
  
[[Special:MyLanguage/Používání masky|Používání masky]]
+
[[Special:MyLanguage/Používání masky|Using a mask]]
  
[[Special:MyLanguage/Režimy snímání obrazovky|Režimy snímání obrazovky]]
+
[[Special:MyLanguage/Režimy snímání obrazovky|Capture modes]]
  
[[Special:MyLanguage/Řešení více výskytů hledané bitmapy|Řešení více výskytů hledané bitmapy]]
+
[[Special:MyLanguage/Řešení více výskytů hledané bitmapy|Resolving multiple occurrences of the searched bitmap]]
  
[[Special:MyLanguage/Časový limit a systémové parametry|Časový limit a systémové parametry]]
+
[[Special:MyLanguage/Časový limit a systémové parametry|Timeout and system parameters]]

Aktuální verze z 3. 2. 2021, 13:48

Jiné jazyky:
English • ‎čeština

Description

Alias: CT

Selects and copies text.

Selects text by clicking the Button at the point specified by Reference1 related to Bitmap1 and dragging it to Reference2 related to Bitmap2. The selected text is copied using the clipboard and saved in the output parameter Text. The number of clicks in Reference1 is determined by the ClickCount parameter. It is possible to set the timeout with the Wait parameter, to skip multiple occurrences with the Skip1 and Skip2 parameters and specify masking with ( MaskMode1, BitmapMaskColor1 and ScreenMaskColor1 or MaskMode2, BitmapMaskColor2 and ScreenMaskColor2 parameters). The search area is determined by the value of the CaptureMode1 and CaptureMode2 parameters. If none of the bitmaps is found, the command ends with an error.

Input parameters

Bitmap1

Bitmap type

Bitmap for reference to the start of text selection.

Reference1

Reference type

Reference relative to Bitmap1 specifying the start of text selection.

Bitmap2

Bitmap type

Bitmap for reference to the end of text selection.

Reference2

Reference type

Reference relative to the Bitmap2 specifying the end of text selection.

ClickCount

Number type

Specifies the number of clicks at the Reference1 position. A value of 0 does not click, a value of 1 means a single click, a value of 2 means a double click, etc. The last click will be released after moving the mouse cursor at the Reference2 point.

Button

Number type

Specifies the mouse button to click (0=none, 1=left, 2=right, 3=middle).

MaskMode1

Number type

Mask mode used for Bitmap1 search (0=none, 1=user mask, 2=automatic mask).

BitmapMaskColor1

Color type

The key color of the user mask in Bitmap1 (used only if MaskMode1=1).

ScreenMaskColor1

Color type

The key color of the user mask on the captured screen corresponding to BitmapMaskColor1. You should set this value only if these two colors are different.

MaskMode2

Number type

Mask mode used for Bitmap2 search (0=none, 1=user mask, 2=automatic mask).

BitmapMaskColor2

Color type

The key color of the user mask in Bitmap2 (used only if MaskMode2=1).

ScreenMaskColor2

Color type

The key color of the user mask on the captured screen corresponding to BitmapMaskColor2. You should set this value only if these two colors are different.

Skip1

Number type

Defines the number of Bitmap1 occurrences that are skipped when searched.

Skip2

Number type

Defines number of Bitmap2 occurrences that are skipped when searched.

Wait

Number type

Timeout in seconds for searched bitmaps to appear.

CaptureMode1

Number type

Defines the search area for Bitmap1 (0=desktop, 1=active window, 2=active region, 3=area of active window, 16=active window client area, 257-264=monitor 1-8, 512-520=active region 0-8).

CaptureMode2

Number type

Defines the search area for Bitmap2 (0=desktop, 1=active window, 2=active region, 3=area of active window, 16=active window client area, 257-264=monitor 1-8, 512-520=active region 0-8).

Enabled

Number type

Enables or disables the command. If the value is 0, the command will not be executed.

PreWait

Number type

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

PostWait

Number type

Delay in milliseconds after executing the command. It has no effect if Enabled=0.

Output parameters

Text

String type

Text obtained from selected text using the clipboard.

See also

Examples of use

Using a mask

Capture modes

Resolving multiple occurrences of the searched bitmap

Timeout and system parameters